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

Commit ccc8add2 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Grant storage permission to default apps

Test: Booted and checked default permissions for pre-Q app
Change-Id: I1a4c05e7dc98f94c7e208c229d6197f7bcf356ac
parent be45bbdc
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -189,12 +189,9 @@ public final class DefaultPermissionGrantPolicy {
    @Deprecated
    private static final Set<String> STORAGE_PERMISSIONS = new ArraySet<>();
    static {
        // STOPSHIP(b/112545973): remove once feature enabled by default
        if (!StorageManager.hasIsolatedStorage()) {
        STORAGE_PERMISSIONS.add(Manifest.permission.READ_EXTERNAL_STORAGE);
        STORAGE_PERMISSIONS.add(Manifest.permission.WRITE_EXTERNAL_STORAGE);
    }
    }

    private static final Set<String> MEDIA_AURAL_PERMISSIONS = new ArraySet<>();
    static {