Broadcast to the media scanner when the user takes a photo from the file picker so that it
gets added to their gallery rather than lingering inaccessible on the SD card.

Change-Id: If7e67ff5b5126964f5e6cc1853e435abc2d75c40
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 03bb9df..b2d7d82 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -3607,6 +3607,9 @@
                     File cameraFile = new File(mCameraFilePath);
                     if (cameraFile.exists()) {
                         result = Uri.fromFile(cameraFile);
+                        // Broadcast to the media scanner that we have a new photo
+                        // so it will be added into the gallery for the user.
+                        sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, result));
                     }
                 }