Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f60ba87f authored by Mike Lockwood's avatar Mike Lockwood
Browse files

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 35a2ea2f.

Conflicts:

	data/etc/platform.xml

Change-Id: I0b139a0f3b369c1080831a5b3a48f5d9a330b1bb
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 7ae938be
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 -->
    <!-- ============================================ -->
+4 −0
Original line number Diff line number Diff line
@@ -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>