Rename DISALLOW_CONFIG_LOCATION_MODE to DISALLOW_CONFIG_LOCATION.
Bug: 72732481 Test: CtsVerifier test already in Change-Id: I12a0593eba270727808588efc4c42c4e066c9446
This commit is contained in:
@@ -169,7 +169,7 @@ public class LocationEnabler implements LifecycleObserver, OnResume, OnPause {
|
||||
|
||||
if (admin == null) {
|
||||
admin = RestrictedLockUtils.checkIfRestrictionEnforced(
|
||||
mContext, UserManager.DISALLOW_CONFIG_LOCATION_MODE, userId);
|
||||
mContext, UserManager.DISALLOW_CONFIG_LOCATION, userId);
|
||||
}
|
||||
return admin;
|
||||
}
|
||||
|
Reference in New Issue
Block a user