Merge "Clear underlying network info in onDefaultNetworkLost()"
This commit is contained in:
@@ -3475,6 +3475,8 @@ public class Vpn {
|
||||
return;
|
||||
} else {
|
||||
mActiveNetwork = null;
|
||||
mUnderlyingNetworkCapabilities = null;
|
||||
mUnderlyingLinkProperties = null;
|
||||
}
|
||||
|
||||
if (mScheduledHandleNetworkLostFuture != null) {
|
||||
@@ -3664,9 +3666,6 @@ public class Vpn {
|
||||
scheduleRetryNewIkeSession();
|
||||
}
|
||||
|
||||
mUnderlyingNetworkCapabilities = null;
|
||||
mUnderlyingLinkProperties = null;
|
||||
|
||||
// Close all obsolete state, but keep VPN alive incase a usable network comes up.
|
||||
// (Mirrors VpnService behavior)
|
||||
Log.d(TAG, "Resetting state for token: " + mCurrentToken);
|
||||
|
||||
Reference in New Issue
Block a user