am 81ae7913
: Merge "Clear connected legacy VPN during rescan" into mnc-dev
* commit '81ae79132f022fe93be24aa419ad1dd28ba86fd7': Clear connected legacy VPN during rescan
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