summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-12-01 11:37:36 -0800
committerKenny Root <kroot@google.com>2010-12-01 11:37:53 -0800
commit1de2eac9d0a9ef03ecf9f964893ca889487f5403 (patch)
treea071dd240438c42f99961aa1a997f6fa95e0583e /core/java/android
parentb483d5cd134cda393824fd8e9c1a5443bd868ae6 (diff)
Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService
Be compatible with the old DownloadProvider behavior of being able to operate on content URIs returned from .insert() Bug: 3242328 Change-Id: I7dad15ac0fefa867c3c8a33a579fc9899ac80262
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/provider/Downloads.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/java/android/provider/Downloads.java b/core/java/android/provider/Downloads.java
index 72bf6b08d684..1ca6d3a8c06b 100644
--- a/core/java/android/provider/Downloads.java
+++ b/core/java/android/provider/Downloads.java
@@ -600,7 +600,14 @@ public final class Downloads {
"android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED";
/**
- * The permission to directly access the download manager's cache directory
+ * The permission to access the all the downloads in the manager.
+ */
+ public static final String PERMISSION_ACCESS_ALL =
+ "android.permission.ACCESS_ALL_DOWNLOADS";
+
+ /**
+ * The permission to directly access the download manager's cache
+ * directory
*/
public static final String PERMISSION_CACHE = "android.permission.ACCESS_CACHE_FILESYSTEM";