Update to use new ConnectivityManager API.
Bug: 77468593 Test: builds Change-Id: I614c20b9a1c6748614163766866bb59b15d794f1 Merged-In: I614c20b9a1c6748614163766866bb59b15d794f1
This commit is contained in:
@@ -200,7 +200,7 @@ public class ConfigDialogFragment extends InstrumentedDialogFragment implements
|
||||
|
||||
final ConnectivityManager conn = ConnectivityManager.from(mContext);
|
||||
conn.setAlwaysOnVpnPackageForUser(UserHandle.myUserId(), null,
|
||||
/* lockdownEnabled */ false);
|
||||
/* lockdownEnabled */ false, /* lockdownWhitelist */ null);
|
||||
VpnUtils.setLockdownVpn(mContext, profile.key);
|
||||
} else {
|
||||
// update only if lockdown vpn has been changed
|
||||
|
||||
Reference in New Issue
Block a user