summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-07-28 17:51:02 -0700
committerSteve Howard <showard@google.com>2010-07-28 18:39:35 -0700
commit9da9df3d6e84a3c4b04dd22d277e0e6d8f7f1ccb (patch)
tree49499d63a55ae22d33d7a63b62aced57fef39b1a /AndroidManifest.xml
parent0d4f9f105c3a31475a36e9a1edfa868c66ff455f (diff)
downloadandroid_packages_providers_DownloadProvider-9da9df3d6e84a3c4b04dd22d277e0e6d8f7f1ccb.tar.gz
android_packages_providers_DownloadProvider-9da9df3d6e84a3c4b04dd22d277e0e6d8f7f1ccb.tar.bz2
android_packages_providers_DownloadProvider-9da9df3d6e84a3c4b04dd22d277e0e6d8f7f1ccb.zip
Make all public API downloads visible.
This change makes all downloads through the public API visible by default. It removes the API that had allowed applications to control notifications while the download runs. This has been replaced with a hidden API, since such behavior is needed by SystemUpdater and Market (for self-updates). Additionally, the behavior is now protected by a new permission. I'm making this permission signatureOrSystem, and changing the non-purgeable permission to the same (it should've been that, I just didn't know). I'm also adding string descriptions to appease the translation folks. Change-Id: I192e8b19ff9b0e425257cef0db081c3d75996ea5
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d6c85d34..8431d1ed 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -25,7 +25,13 @@
<permission android:name="android.permission.DOWNLOAD_CACHE_NON_PURGEABLE"
android:label="@string/permlab_downloadCacheNonPurgeable"
android:description="@string/permdesc_downloadCacheNonPurgeable"
- android:protectionLevel="dangerous"/>
+ android:protectionLevel="signatureOrSystem"/>
+
+ <!-- Allows to queue downloads without a notification shown while the download runs. -->
+ <permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"
+ android:label="@string/permlab_downloadWithoutNotification"
+ android:description="@string/permdesc_downloadWithoutNotification"
+ android:protectionLevel="signatureOrSystem"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />