Merge "Rename getVpnLockdownWhitelist to -Allowlist" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9b25b89f8f
@@ -1117,7 +1117,7 @@ public class ConnectivityManager {
|
||||
* @hide
|
||||
*/
|
||||
@Deprecated
|
||||
public List<String> getVpnLockdownWhitelist(int userId) {
|
||||
public List<String> getVpnLockdownAllowlist(int userId) {
|
||||
return getVpnManager().getVpnLockdownAllowlist(userId);
|
||||
}
|
||||
|
||||
|
||||
@@ -6372,7 +6372,7 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
Preconditions.checkCallAuthorization(isDeviceOwner(caller) || isProfileOwner(caller));
|
||||
|
||||
return mInjector.binderWithCleanCallingIdentity(
|
||||
() -> mInjector.getConnectivityManager().getVpnLockdownWhitelist(
|
||||
() -> mInjector.getConnectivityManager().getVpnLockdownAllowlist(
|
||||
caller.getUserId()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user