Merge "Add comment / logging in NetworkMonitor callbacks" am: 34e9cb2fdc am: c7276dea28 am: c3f654ec97
Change-Id: Ib8c7723cb873c7395b2eb33e3b259d13127cf73d
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user