resolve merge conflicts of cb1968148a to master
Test: make RunSettingsRoboTests Change-Id: I436af9f0415b9ad7ea0ea53f4f68d337fdbaa0aa
This commit is contained in:
@@ -249,8 +249,7 @@ public class ConfigDialogFragment extends InstrumentedDialogFragment implements
|
||||
if (!isConnected(profile)) {
|
||||
return true;
|
||||
}
|
||||
VpnUtils.clearLockdownVpn(mContext);
|
||||
return mService.prepareVpn(null, VpnConfig.LEGACY_VPN, UserHandle.myUserId());
|
||||
return VpnUtils.disconnectLegacyVpn(getContext());
|
||||
} catch (RemoteException e) {
|
||||
Log.e(TAG, "Failed to disconnect", e);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user