Merge "IP connectivity metrics: fix LINGER/UNLINGER logging"
This commit is contained in:
@@ -5605,7 +5605,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
}
|
||||
|
||||
private void logNetworkEvent(NetworkAgentInfo nai, int evtype) {
|
||||
mMetricsLog.log(new NetworkEvent(nai.network.netId, evtype));
|
||||
int[] transports = nai.networkCapabilities.getTransportTypes();
|
||||
mMetricsLog.log(nai.network.netId, transports, new NetworkEvent(evtype));
|
||||
}
|
||||
|
||||
private static boolean toBool(int encodedBoolean) {
|
||||
|
||||
Reference in New Issue
Block a user