summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-01-06 15:02:52 -0800
committerDoug Zongker <dougz@android.com>2010-01-06 15:05:24 -0800
commit6e99b7a3b29fbb1936463a3a48fe693dae909c8f (patch)
tree1e37b2b44ecb2a17d2e6b43d0018e33445af9b31 /core/res
parent9027696bf01d712658db9ff3003d0c11a89ddc2a (diff)
downloadframeworks_base-6e99b7a3b29fbb1936463a3a48fe693dae909c8f.zip
frameworks_base-6e99b7a3b29fbb1936463a3a48fe693dae909c8f.tar.gz
frameworks_base-6e99b7a3b29fbb1936463a3a48fe693dae909c8f.tar.bz2
add ACCESS_CACHE_FILESYSTEM permission to core manifest
All of the permissions in data/etc/platform.xml are defined in core/res/AndroidManifest.xml, except for ACCESS_CACHE_FILESYSTEM. Add it. Change-Id: If7906bc0007484cc21196fb1c0593b967fd79920
Diffstat (limited to 'core/res')
-rw-r--r--core/res/AndroidManifest.xml6
-rw-r--r--core/res/res/values/strings.xml5
2 files changed, 11 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index d202372..c49a86a 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -1150,6 +1150,12 @@
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="signatureOrSystem" />
+ <!-- Allow an application to read and write the cache partition. -->
+ <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
+ android:label="@string/permlab_cache_filesystem"
+ android:description="@string/permdesc_cache_filesystem"
+ android:protectionLevel="signatureOrSystem" />
+
<application android:process="system"
android:persistent="true"
android:hasCode="false"
diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml
index 4fb476b..047115c 100644
--- a/core/res/res/values/strings.xml
+++ b/core/res/res/values/strings.xml
@@ -1146,6 +1146,11 @@
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
<string name="permdesc_sdcardWrite">Allows an application to write to the SD card.</string>
+ <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
+ <string name="permlab_cache_filesystem">access the cache filesystem</string>
+ <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
+ <string name="permdesc_cache_filesystem">Allows an application to read and write the cache filesystem.</string>
+
<!-- The order of these is important, don't reorder without changing Contacts.java --> <skip />
<!-- Phone number types from android.provider.Contacts. This could be used when adding a new phone number for a contact, for example. -->
<string-array name="phoneTypes">