Merge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: 9632d1eef4 am: 2c939b0d7a
am: 5b13decb2a
Change-Id: Ifb4911e1077f8c673052918fcd4a49e1ab7708d2
This commit is contained in:
@@ -5616,7 +5616,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void logNetworkEvent(NetworkAgentInfo nai, int evtype) {
|
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) {
|
private static boolean toBool(int encodedBoolean) {
|
||||||
|
|||||||
Reference in New Issue
Block a user