Merge "Disallow privileged apps to bypass location restriction" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-05-02 16:21:15 +00:00
committed by Android (Google) Code Review

View File

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