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

Commit a13a02cd authored by Steve Howard's avatar Steve Howard
Browse files

New permission for non-purgeable cache downloads.

This permission allows an app to use the public download manager API
to download files to the cache partition that won't be automatically
deleted when the download manager needs space.

Change-Id: Id9a5cd61c940df22765b358290b8ad8ceeff493e
parent 8cd48574
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -623,6 +623,13 @@ public final class Downloads {
        public static final String PERMISSION_SEND_INTENTS =
                "android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS";

        /**
         * The permission to downloads files to the cache partition that won't be automatically
         * purged when space is needed.
         */
        public static final String PERMISSION_CACHE_NON_PURGEABLE =
                "android.permission.DOWNLOAD_CACHE_NON_PURGEABLE";

        /**
         * The content:// URI for the data table in the provider
         */