Merge "Add comment / logging in NetworkMonitor callbacks" am: b6acc7f50e am: 12a06589bd am: edd659040c am: 8a3fb20cd2 am: 08b38b16b7

Change-Id: If3dea2bbe730b10c7c229355724fcd361a3cdf2a
This commit is contained in:
Remi NGUYEN VAN
2020-04-27 08:51:06 +00:00
committed by Automerger Merge Worker

View File

@@ -3012,10 +3012,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(