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

* commit '1bbabd3c3642bd81cd838a9801212704fdb41d50':
  Clear connected legacy VPN during rescan
This commit is contained in:
Robin Lee
2015-06-02 20:32:00 +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);