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

Commit 13ecad40 authored by Nandana Dutt's avatar Nandana Dutt
Browse files

Revert submission 10012772-revert-9996524-restrict_legacy_appop-YHMXHGIDDF

Reason for revert: Fixing forward in 12b4617efb28191ddb502bd4e26fbcb590946d8c
Reverted Changes:
I9d27fa97f: Revert submission 9996524-restrict_legacy_appop
I86fe7418c: Revert submission 9996524-restrict_legacy_appop

Change-Id: I3e512c08373a88d75af38df3cbb682209ca275ea
parent ebd5b244
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() {