summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-04-22 07:05:21 -0700
committerMike Lockwood <lockwood@android.com>2011-04-22 07:11:20 -0700
commit1e23db4c2f5a6eba37a786e4390d52fe2012bfae (patch)
tree49f97dc509feddd80ee6c0705f7e78af23620f64 /core
parent9df53fae3afd1c6b5278216be2fd33a255602aef (diff)
Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4. Conflicts: data/etc/platform.xml Change-Id: I9faf54526182a786a1c0ca1fd01a09baabca186d Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'core')
-rw-r--r--core/res/AndroidManifest.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 7f1812164511..2ed39e47082e 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -550,6 +550,14 @@
android:description="@string/permdesc_sdcardWrite"
android:protectionLevel="dangerous" />
+ <!-- Allows an application to write to internal media storage
+ @hide -->
+ <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
+ android:permissionGroup="android.permission-group.STORAGE"
+ android:label="@string/permlab_mediaStorageWrite"
+ android:description="@string/permdesc_mediaStorageWrite"
+ android:protectionLevel="signatureOrSystem" />
+
<!-- ============================================ -->
<!-- Permissions for low-level system interaction -->
<!-- ============================================ -->