Update to use new ConnectivityManager API.
Bug: 77468593 Test: builds Change-Id: I614c20b9a1c6748614163766866bb59b15d794f1 Merged-In: I614c20b9a1c6748614163766866bb59b15d794f1
This commit is contained in:
@@ -163,7 +163,8 @@ public class AppDialogFragment extends InstrumentedDialogFragment implements App
|
||||
final int userId = getUserId();
|
||||
try {
|
||||
if (mPackageInfo.packageName.equals(VpnUtils.getConnectedPackage(mService, userId))) {
|
||||
mService.setAlwaysOnVpnPackage(userId, null, /* lockdownEnabled */ false);
|
||||
mService.setAlwaysOnVpnPackage(userId, null, /* lockdownEnabled */ false,
|
||||
/* lockdownWhitelist */ null);
|
||||
mService.prepareVpn(mPackageInfo.packageName, VpnConfig.LEGACY_VPN, userId);
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
|
Reference in New Issue
Block a user