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

Commit 6369ea99 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Change-Id: I8947ccbf1f18e175e76288746688c4f3da4b07a8
parents ef87a75b 9ffa70c4
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);