Merge "Disallow privileged apps to bypass location restriction" into tm-dev am: a9c0327cb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18090449 Change-Id: Ia9613d0302e053dc5a0743f11b3acc217e972135 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2537,8 +2537,8 @@ public class AppOpsManager {
|
|||||||
* restriction} for a certain app-op.
|
* restriction} for a certain app-op.
|
||||||
*/
|
*/
|
||||||
private static RestrictionBypass[] sOpAllowSystemRestrictionBypass = new RestrictionBypass[] {
|
private static RestrictionBypass[] sOpAllowSystemRestrictionBypass = new RestrictionBypass[] {
|
||||||
new RestrictionBypass(true, false), //COARSE_LOCATION
|
null, //COARSE_LOCATION
|
||||||
new RestrictionBypass(true, false), //FINE_LOCATION
|
null, //FINE_LOCATION
|
||||||
null, //GPS
|
null, //GPS
|
||||||
null, //VIBRATE
|
null, //VIBRATE
|
||||||
null, //READ_CONTACTS
|
null, //READ_CONTACTS
|
||||||
|
|||||||
Reference in New Issue
Block a user