Clear connected legacy VPN during rescan
Change-Id: I0fec37b3f73ce5b538721d79e78e1128d7667380
This commit is contained in:
@@ -234,6 +234,7 @@ public class VpnSettings extends SettingsPreferenceFragment implements
|
|||||||
// Mark out connections with a subtitle
|
// Mark out connections with a subtitle
|
||||||
try {
|
try {
|
||||||
// Legacy VPNs
|
// Legacy VPNs
|
||||||
|
mConnectedLegacyVpn = null;
|
||||||
LegacyVpnInfo info = mConnectivityService.getLegacyVpnInfo();
|
LegacyVpnInfo info = mConnectivityService.getLegacyVpnInfo();
|
||||||
if (info != null) {
|
if (info != null) {
|
||||||
ConfigPreference preference = mConfigPreferences.get(info.key);
|
ConfigPreference preference = mConfigPreferences.get(info.key);
|
||||||
|
Reference in New Issue
Block a user