Merge "Send full LinkProperties to NetworkMonitor"
This commit is contained in:
commit
bdbe7b72fe
1 changed files with 5 additions and 2 deletions
|
|
@ -5969,7 +5969,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
// Start or stop DNS64 detection and 464xlat according to network state.
|
||||
networkAgent.clatd.update();
|
||||
notifyIfacesChangedForNetworkStats();
|
||||
networkAgent.networkMonitor().notifyLinkPropertiesChanged(newLp);
|
||||
networkAgent.networkMonitor().notifyLinkPropertiesChanged(
|
||||
new LinkProperties(newLp, true /* parcelSensitiveFields */));
|
||||
if (networkAgent.everConnected) {
|
||||
notifyNetworkCallbacks(networkAgent, ConnectivityManager.CALLBACK_IP_CHANGED);
|
||||
}
|
||||
|
|
@ -7157,7 +7158,9 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
networkAgent.networkMonitor().setAcceptPartialConnectivity();
|
||||
}
|
||||
networkAgent.networkMonitor().notifyNetworkConnected(
|
||||
networkAgent.linkProperties, networkAgent.networkCapabilities);
|
||||
new LinkProperties(networkAgent.linkProperties,
|
||||
true /* parcelSensitiveFields */),
|
||||
networkAgent.networkCapabilities);
|
||||
scheduleUnvalidatedPrompt(networkAgent);
|
||||
|
||||
// Whether a particular NetworkRequest listen should cause signal strength thresholds to
|
||||
|
|
|
|||
Loading…
Reference in a new issue