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
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user