Rename DISALLOW_CONFIG_LOCATION_MODE to DISALLOW_CONFIG_LOCATION.

Bug: 72732481
Test: CtsVerifier test already in
Change-Id: I12a0593eba270727808588efc4c42c4e066c9446
This commit is contained in:
yuemingw
2018-02-01 17:52:50 +00:00
committed by Yueming Wang
parent 7142be5630
commit a1416d2849
2 changed files with 2 additions and 2 deletions

View File

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