Capture API updates from new specification
http://dev.w3.org/2009/dap/camera/

Replace "source" with "capture" and "gallery" with "filesystem".

Change-Id: I6b95d2a24c8e8795e4cab62a023511047bb6ea26
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 72a4210..dde0765 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -2888,9 +2888,9 @@
 
         final String imageMimeType = "image/*";
         final String videoMimeType = "video/*";
-        final String mediaSourceKey = "source";
+        final String mediaSourceKey = "capture";
         final String mediaSourceValueCamera = "camera";
-        final String mediaSourceValueGallery = "gallery";
+        final String mediaSourceValueFileSystem = "filesystem";
         final String mediaSourceValueCamcorder = "camcorder";
 
         // media source can be 'gallery' or 'camera' or 'camcorder'
@@ -2951,8 +2951,8 @@
                 // directly.
                 BrowserActivity.this.startActivityForResult(cameraIntent, FILE_SELECTED);
                 return;
-            } else if (mediaSource.equals(mediaSourceValueGallery)) {
-                // Specified gallery as the source, so don't want to consider the camera.
+            } else if (mediaSource.equals(mediaSourceValueFileSystem)) {
+                // Specified filesytem as the source, so don't want to consider the camera.
                 addCameraIntent = false;
             }
         } else if (mimeType.equals(videoMimeType)) {
@@ -2967,8 +2967,8 @@
                 // directly.
                 BrowserActivity.this.startActivityForResult(camcorderIntent, FILE_SELECTED);
                 return;
-            } else if (mediaSource.equals(mediaSourceValueGallery)) {
-                // Specified gallery as the source, so don't want to consider the camcorder.
+            } else if (mediaSource.equals(mediaSourceValueFileSystem)) {
+                // Specified filesystem as the source, so don't want to consider the camcorder.
                 addCamcorderIntent = false;
             }
         } else {