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: If81441c08d82d7156370f652a62298fc85eded1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2022-05-02 16:42:30 +00:00
committed by Automerger Merge Worker

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