Merge changes from topic "presubmit-am-7c6d0c599e7f4dbf9be275fe29d6dacd" into sc-qpr1-dev

* changes:
  [automerge] Disallow privileged apps to bypass location restriction 2p: 807f4cfc80
  Disallow privileged apps to bypass location restriction
This commit is contained in:
Evan Severson
2022-06-03 20:49:54 +00:00
committed by Android (Google) Code Review

View File

@@ -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