summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2010-11-16 14:35:31 -0800
committerVasu Nori <vnori@google.com>2010-11-16 14:44:55 -0800
commit0472687518601295ffb157831be12905286f1372 (patch)
tree4f1122599c20aa83ae1c626972655d72b474260b /AndroidManifest.xml
parent01d0182d86db003b2da5b831cb26820093888d9a (diff)
downloadandroid_packages_providers_DownloadProvider-0472687518601295ffb157831be12905286f1372.zip
android_packages_providers_DownloadProvider-0472687518601295ffb157831be12905286f1372.tar.gz
android_packages_providers_DownloadProvider-0472687518601295ffb157831be12905286f1372.tar.bz2
fix permissions when accessing downloads thru various Uri's
fixes this bug bug:3169457 also Change-Id: I0f60333361c5c399c64faa2d497038530064bef0
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ec284a4..2e6a523 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -56,14 +56,14 @@
<application android:process="android.process.media"
android:label="@string/app_label">
<provider android:name=".DownloadProvider"
- android:authorities="downloads"
- android:permission="android.permission.ACCESS_ALL_DOWNLOADS">
+ android:authorities="downloads">
<!-- Anyone can access /my_downloads, the provider internally restricts access by UID for
these URIs -->
<path-permission android:pathPrefix="/my_downloads"
android:permission="android.permission.INTERNET"/>
- <path-permission android:pathPrefix="/public_downloads"
- android:permission="android.permission.INTERNET"/>
+ <!-- to access /all_downloads, ACCESS_ALL_DOWNLOADS permission is required -->
+ <path-permission android:pathPrefix="/all_downloads"
+ android:permission="android.permission.ACCESS_ALL_DOWNLOADS"/>
<!-- Temporary, for backwards compatibility -->
<path-permission android:pathPrefix="/download"
android:permission="android.permission.INTERNET"/>