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

Commit 77e6a55f authored by Mark Wagner's avatar Mark Wagner
Browse files

bugfix 5381702 MMS app puts temporary files on sdcard in wrong location

move this code into the app

Change-Id: Ieca6c603ee1163524ddb855800ade5e5a8fff0e5
parent cc3fbb7b
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -1574,22 +1574,6 @@ public final class Telephony {
            public static final String SENT_TIME = "sent_time";
        }

        public static final class ScrapSpace {
            /**
             * The content:// style URL for this table
             */
            public static final Uri CONTENT_URI = Uri.parse("content://mms/scrapSpace");

            /**
             * This is the scrap file we use to store the media attachment when the user
             * 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 =
                Environment.getExternalStorageDirectory().getPath() + "/mms/scrapSpace/.temp.jpg";
        }

        public static final class Intents {
            private Intents() {
                // Non-instantiatable.