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

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

Merge "Revert submission 9996524-restrict_legacy_appop"

parents 1ee3dda0 ebd5b244
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -145,8 +145,7 @@ public abstract class SoftRestrictedPermissionPolicy {
                    }
                    @Override
                    public boolean mayAllowExtraAppOp() {
                        return !shouldApplyRestriction && hasRequestedLegacyExternalStorage
                                && targetSDK <= Build.VERSION_CODES.Q;
                        return !shouldApplyRestriction && hasRequestedLegacyExternalStorage;
                    }
                    @Override
                    public boolean mayDenyExtraAppOpIfGranted() {