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:
committed by
Android (Google) Code Review
commit
96a5a3b953
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user