summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-09-21 13:53:45 -0700
committerSteve Howard <showard@google.com>2010-09-21 14:56:57 -0700
commitece96c7475696d8b447bb8523f4ad83c897002ea (patch)
tree4b277bd3cfb58175bc3f75de789f5a1e972bb2a3
parentd319729622da1893e895f2e35f41d01ecdca3705 (diff)
downloadandroid_packages_providers_DownloadProvider-ece96c7475696d8b447bb8523f4ad83c897002ea.zip
android_packages_providers_DownloadProvider-ece96c7475696d8b447bb8523f4ad83c897002ea.tar.gz
android_packages_providers_DownloadProvider-ece96c7475696d8b447bb8523f4ad83c897002ea.tar.bz2
Expose permission to download without notification.
Change-Id: I43d3b9ca4ea7d4786a47363b4f5f7e6f003013bb
-rw-r--r--AndroidManifest.xml3
-rw-r--r--res/values/strings.xml4
2 files changed, 4 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f7001ff..fa51972 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -29,9 +29,10 @@
<!-- Allows to queue downloads without a notification shown while the download runs. -->
<permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"
+ android:permissionGroup="android.permission-group.NETWORK"
android:label="@string/permlab_downloadWithoutNotification"
android:description="@string/permdesc_downloadWithoutNotification"
- android:protectionLevel="signatureOrSystem"/>
+ android:protectionLevel="normal"/>
<!-- Allows an app to access all downloads in the system via the /all_downloads/ URIs. The
protection level could be relaxed in the future to support third-party download
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 543c95c..46bf82a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -88,8 +88,8 @@
<!-- The label for the permission to download files through the download
manager without any notification being shown to the user [CHAR LIMIT=50] -->
- <string name="permlab_downloadWithoutNotification">Use download manager
- without notification</string>
+ <string name="permlab_downloadWithoutNotification">download files without
+ notification</string>
<!-- The full sentence description for the permission to download files
through the download manager without any notification being shown to the