DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices
This reverts commit 35a2ea2fbf.
Conflicts:
data/etc/platform.xml
Change-Id: I0b139a0f3b369c1080831a5b3a48f5d9a330b1bb
Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@@ -544,6 +544,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 -->
|
||||
<!-- ============================================ -->
|
||||
|
||||
@@ -58,6 +58,10 @@
|
||||
<group gid="sdcard_rw" />
|
||||
</permission>
|
||||
|
||||
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
|
||||
<group gid="media_rw" />
|
||||
</permission>
|
||||
|
||||
<permission name="android.permission.ACCESS_MTP" >
|
||||
<group gid="mtp" />
|
||||
</permission>
|
||||
|
||||
Reference in New Issue
Block a user