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: Ibd2ed553c87ea694d4b09a8265c7131fae588719
This commit is contained in:
committed by
Jean-Baptiste Queru
parent
210e9c4a8b
commit
63be7a732e
@@ -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";
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.defcontainer">
|
||||
<uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_ALL_DOWNLOADS"/>
|
||||
<uses-permission android:name="android.permission.ASEC_ACCESS"/>
|
||||
<uses-permission android:name="android.permission.ASEC_CREATE"/>
|
||||
<uses-permission android:name="android.permission.ASEC_DESTROY"/>
|
||||
|
||||
Reference in New Issue
Block a user