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

Commit d588cb7f authored by Wei Huang's avatar Wei Huang
Browse files

add definition for Mms.TempStorage content uri and filename.

Change-Id: Idfab085f2ecc8c7c835208805ccf1d94d6380780
parent d4c00a17
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -1481,6 +1481,21 @@ 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 (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.
             */
            public static final String SCRAP_FILE_PATH = "/sdcard/mms/scrapSpace/file";
        }

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