Rename getVpnLockdownWhitelist to -Allowlist
Test: m Bug: 173331190 Change-Id: Id02a37624655c4ff88744c9c57af9f2a17953667
This commit is contained in:
@@ -1117,7 +1117,7 @@ public class ConnectivityManager {
|
|||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public List<String> getVpnLockdownWhitelist(int userId) {
|
public List<String> getVpnLockdownAllowlist(int userId) {
|
||||||
return getVpnManager().getVpnLockdownAllowlist(userId);
|
return getVpnManager().getVpnLockdownAllowlist(userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6372,7 +6372,7 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
|||||||
Preconditions.checkCallAuthorization(isDeviceOwner(caller) || isProfileOwner(caller));
|
Preconditions.checkCallAuthorization(isDeviceOwner(caller) || isProfileOwner(caller));
|
||||||
|
|
||||||
return mInjector.binderWithCleanCallingIdentity(
|
return mInjector.binderWithCleanCallingIdentity(
|
||||||
() -> mInjector.getConnectivityManager().getVpnLockdownWhitelist(
|
() -> mInjector.getConnectivityManager().getVpnLockdownAllowlist(
|
||||||
caller.getUserId()));
|
caller.getUserId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user