Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0200394a authored by Wei Huang's avatar Wei Huang Committed by Android Git Automerger
Browse files

am 6b370745: bug 2161715: add the .jpg extension to the temp sdcard image file...

am 6b370745: bug 2161715: add the .jpg extension to the temp sdcard image file name so MMS can read the JPEG data using a file uri.

Merge commit '6b370745' into eclair-mr2

* commit '6b370745':
  bug 2161715: add the .jpg extension to the temp sdcard image file name so MMS can read the JPEG data using a file uri.
parents cfc81aea 6b370745
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1489,11 +1489,11 @@ public final class Telephony {

            /**
             * This is the scrap file we use to store the media attachment when the user
             * chooses to capture a photo to be attached (and could be used for other media types
             * if necessary). We pass {#link@Uri} to the Camera app, which streams the captured
             * image to the uri. Internally we write the media content to this file.
             * chooses to capture a photo to be attached . We pass {#link@Uri} to the Camera app,
             * which streams the captured image to the uri. Internally we write the media content
             * to this file. It's named '.temp.jpg' so Gallery won't pick it up.
             */
            public static final String SCRAP_FILE_PATH = "/sdcard/mms/scrapSpace/file";
            public static final String SCRAP_FILE_PATH = "/sdcard/mms/scrapSpace/.temp.jpg";
        }

        public static final class Intents {