summaryrefslogtreecommitdiffstats
path: root/res/values/strings.xml
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-07-20 16:32:31 -0700
committerSteve Howard <showard@google.com>2010-07-23 15:14:45 -0700
commit71aab521efba9b28779541440c797220ec98ac97 (patch)
tree592cfe9a02dddf9e862934146536623050724355 /res/values/strings.xml
parentb06b739b078ce4b00600487cfec31659647bf31f (diff)
downloadandroid_packages_providers_DownloadProvider-71aab521efba9b28779541440c797220ec98ac97.tar.gz
android_packages_providers_DownloadProvider-71aab521efba9b28779541440c797220ec98ac97.tar.bz2
android_packages_providers_DownloadProvider-71aab521efba9b28779541440c797220ec98ac97.zip
Support for non-purgeable downloads through the public API.
This change adds a permission, android.permission.DOWNLOAD_CACHE_NON_PURGEABLE. When an app has this permission, any downloads it requests through the public API to the download cache will automatically become non-purgeable, i.e. they'll never be automatically deleted by the download manager to free up space. This is intended for use only by the system updater. Change-Id: I35cdd44f7e5d46bc70443d1a9743f61a51395ddb
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r--res/values/strings.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7e40b608..0bc5c09c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -73,6 +73,15 @@
<string name="permdesc_seeAllExternal">Allows the application to see all
downloads to the SD card, regardless of which application downloaded
them.</string>
+
+ <string name="permlab_downloadCacheNonPurgeable">Download non-purgeable
+ files to the cache</string>
+ <string name="permdesc_downloadCacheNonPurgeable">Allows the application to
+ download files to the download cache through the public API which will not
+ be automatically deleted when the download manager needs more space.
+ Malicious applications can use this to block other applications from using
+ the download cache.</string>
+
<!-- This is the title that is used when displaying the notification
for a download that doesn't have a title associated with it. -->
<string name="download_unknown_title">&lt;Untitled&gt;</string>