Merge "Rename getVpnLockdownWhitelist to -Allowlist"

This commit is contained in:
Lorenzo Colitti
2021-02-15 12:04:24 +00:00
committed by Gerrit 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

@@ -7158,7 +7158,7 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
final int userId = mInjector.userHandleGetCallingUserId();
return mInjector.binderWithCleanCallingIdentity(
() -> mInjector.getConnectivityManager().getVpnLockdownWhitelist(userId));
() -> mInjector.getConnectivityManager().getVpnLockdownAllowlist(userId));
}
private void forceWipeDeviceNoLock(boolean wipeExtRequested, String reason, boolean wipeEuicc) {