Merge "Rename getVpnLockdownWhitelist to -Allowlist" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-02-15 08:29:55 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

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

View File

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