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
This commit is contained in:
Doug Zongker
2010-01-06 15:02:52 -08:00
parent 9027696bf0
commit 6e99b7a3b2
3 changed files with 22 additions and 0 deletions

View File

@@ -34,6 +34,17 @@
visibility="public"
>
</constructor>
<field name="ACCESS_CACHE_FILESYSTEM"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;android.permission.ACCESS_CACHE_FILESYSTEM&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="ACCESS_CHECKIN_PROPERTIES"
type="java.lang.String"
transient="false"

View File

@@ -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"

View File

@@ -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">