Merge "Disallow privileged apps to bypass location restriction" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a9c0327cb3
@@ -2537,8 +2537,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