am 32096856: am 81ae7913: Merge "Clear connected legacy VPN during rescan" into mnc-dev

* commit '320968561d6c8d4b4ec1797ff4a2028713b8cc8e':
  Clear connected legacy VPN during rescan
This commit is contained in:
Robin Lee
2015-06-02 16:15:34 +00:00
committed by Android Git Automerger

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);