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

Commit 1977124e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "No STORAGE_PERMISSIONS to grant in new model."

parents 1a4b8154 b162909d
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -171,9 +171,12 @@ 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 (!SystemProperties.getBoolean(StorageManager.PROP_ISOLATED_STORAGE, false)) {
            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 {