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:
Steve Howard
2010-07-23 14:58:15 -07:00
parent 8cd48574a7
commit a13a02cd0e

View File

@@ -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
*/