summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-10-26 17:28:34 -0700
committerJeff Sharkey <jsharkey@android.com>2013-02-06 15:59:40 -0800
commitafad57978db86c7012ff2df927a4a6191171d144 (patch)
tree9a8badc22b427829a922d789496d42724591822d /AndroidManifest.xml
parent76483d4dff2243db6c92a30182b9197f9c14e7c6 (diff)
downloadandroid_packages_providers_DownloadProvider-afad57978db86c7012ff2df927a4a6191171d144.zip
android_packages_providers_DownloadProvider-afad57978db86c7012ff2df927a4a6191171d144.tar.gz
android_packages_providers_DownloadProvider-afad57978db86c7012ff2df927a4a6191171d144.tar.bz2
Allow granting access to "my_downloads" paths.
PackageInstaller attempts to grant Uri permissions on my_downloads paths passed internally. This change lets the system successfully grant permissions to these paths. Bug: 7426851 Change-Id: I9a4eea4397c02175aff4e3881a9a79cea1e6e0e3
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 7a1ce39..bdc6b13 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -72,6 +72,9 @@
<!-- Apps with access to /all_downloads/... can grant permissions, allowing them to share
downloaded files with other viewers -->
<grant-uri-permission android:pathPrefix="/all_downloads/"/>
+ <!-- Apps with access to /my_downloads/... can grant permissions, allowing them to share
+ downloaded files with other viewers -->
+ <grant-uri-permission android:pathPrefix="/my_downloads/"/>
</provider>
<service android:name=".DownloadService"
android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />