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

Commit 08cff4b6 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Change MANAGE_EXTERNAL_STORAGE to signature|appop|preinstalled.

Will grant it to all preinstalled packages that request it. The set
of packages that may request it will be controlled by a GTS test.

Test: manual: request the permission from com.google.android.documentsui
      and check that the grant state == granted.
Test: make
Test: atest CtsPermission2TestCases

Bug: 146999779

Change-Id: Ife7f878898c329363e5f6c4a00209f0741db93eb
parent bde15c3c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -934,11 +934,10 @@

    <!-- Allows an application a broad access to external storage in scoped storage.
         Intended to be used by few apps that need to manage files on behalf of the users.
         <p>Protection level: signature|appop
         <p>This protection level is temporary and will most likely be changed to |preinstalled -->
         <p>Protection level: signature|appop|preinstalled -->
    <permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
        android:permissionGroup="android.permission-group.UNDEFINED"
        android:protectionLevel="signature|appop" />
        android:protectionLevel="signature|appop|preinstalled" />

    <!-- ====================================================================== -->
    <!-- Permissions for accessing the device location                          -->