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

Commit e1000eae authored by Nandana Dutt's avatar Nandana Dutt Committed by Android (Google) Code Review
Browse files

Merge "Revert submission 10012772-revert-9996524-restrict_legacy_appop-YHMXHGIDDF"

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