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

Commit f8a9a24e authored by Presubmit Automerger Backend's avatar Presubmit Automerger Backend
Browse files

[automerge] Disallow privileged apps to bypass location restriction 2p: 807f4cfc

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18200760

Bug: 230861324
Bug: 231496105
Change-Id: Icf7d838571ecd02a866d0180b034fc1aeb2ea0ac
Merged-In: Ib34c0b56ef52f5ee2deceb84b02cd0ff73d8181d
parents 4a107edf 807f4cfc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2463,8 +2463,8 @@ public class AppOpsManager {
     * restriction} for a certain app-op.
     */
    private static RestrictionBypass[] sOpAllowSystemRestrictionBypass = new RestrictionBypass[] {
            new RestrictionBypass(true, false), //COARSE_LOCATION
            new RestrictionBypass(true, false), //FINE_LOCATION
            null, //COARSE_LOCATION
            null, //FINE_LOCATION
            null, //GPS
            null, //VIBRATE
            null, //READ_CONTACTS