Merge "Clear connected legacy VPN during rescan" into mnc-dev

This commit is contained in:
Robin Lee
2015-06-02 15:37:19 +00:00
committed by Android (Google) Code Review

View File

@@ -234,6 +234,7 @@ public class VpnSettings extends SettingsPreferenceFragment implements
// Mark out connections with a subtitle
try {
// Legacy VPNs
mConnectedLegacyVpn = null;
LegacyVpnInfo info = mConnectivityService.getLegacyVpnInfo();
if (info != null) {
ConfigPreference preference = mConfigPreferences.get(info.key);