Merge "Minor cleanups to NetworkStats interface tracking."
am: 6455e31b76 Change-Id: I84aad4b9815196e0362d6adba34359a260853f46
This commit is contained in:
@@ -5439,8 +5439,11 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
if (!networkAgent.everConnected && state == NetworkInfo.State.CONNECTED) {
|
||||
networkAgent.everConnected = true;
|
||||
|
||||
if (networkAgent.linkProperties == null) {
|
||||
Slog.wtf(TAG, networkAgent.name() + " connected with null LinkProperties");
|
||||
}
|
||||
|
||||
updateLinkProperties(networkAgent, null);
|
||||
notifyIfacesChangedForNetworkStats();
|
||||
|
||||
networkAgent.networkMonitor.sendMessage(NetworkMonitor.CMD_NETWORK_CONNECTED);
|
||||
scheduleUnvalidatedPrompt(networkAgent);
|
||||
|
||||
Reference in New Issue
Block a user