Merge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: aba1505896
am: f051bb1121
Change-Id: I422ef3cd6eab19cf3de2d6d9520840a7597c4a65
This commit is contained in:
commit
ab97c357e3
1 changed files with 2 additions and 1 deletions
|
|
@ -5588,7 +5588,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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue