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

Commit 17166b13 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix preserveLegacyExternalStorage logic" into rvc-dev am: 9ffa70c4...

Merge "Fix preserveLegacyExternalStorage logic" into rvc-dev am: 9ffa70c4 am: 6369ea99 am: a6d6d4e4

Change-Id: Ib497dc5c7c89076d616d027970afc35df7813ef1
parents 1d6121a3 a6d6d4e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ public abstract class SoftRestrictedPermissionPolicy {
                    }
                    @Override
                    public boolean mayAllowExtraAppOp() {
                        return !shouldApplyRestriction && targetSDK <= Build.VERSION_CODES.Q
                        return !shouldApplyRestriction
                                && (hasRequestedLegacyExternalStorage
                                        || hasWriteMediaStorageGrantedForUid
                                        || shouldPreserveLegacyExternalStorage);