Merge "Add comment / logging in NetworkMonitor callbacks" into rvc-dev am: 6cab7cc8e9 am: 7e7aef149b

Change-Id: Ie944a2db90ee2fac54bd9ea8a259001e6889c517
This commit is contained in:
Remi NGUYEN VAN
2020-05-01 01:05:09 +00:00
committed by Automerger Merge Worker

View File

@@ -3011,10 +3011,13 @@ public class ConnectivityService extends IConnectivityManager.Stub
// Legacy version of notifyNetworkTestedWithExtras.
// Would only be called if the system has a NetworkStack module older than the
// framework, which does not happen in practice.
Slog.wtf(TAG, "Deprecated notifyNetworkTested called: no action taken");
}
@Override
public void notifyNetworkTestedWithExtras(NetworkTestResultParcelable p) {
// Notify mTrackerHandler and mConnectivityDiagnosticsHandler of the event. Both use
// the same looper so messages will be processed in sequence.
final Message msg = mTrackerHandler.obtainMessage(
EVENT_NETWORK_TESTED,
new NetworkTestedResults(