Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 572d2ec8 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Rename getVpnLockdownWhitelist to -Allowlist

Test: m
Bug: 173331190
Change-Id: Id02a37624655c4ff88744c9c57af9f2a17953667
parent d9334a47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }

+1 −1
Original line number Diff line number Diff line
@@ -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()));
    }