Merge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: aba1505896 am: f051bb1121

am: ab97c357e3

Change-Id: Ifb4911e1077f8c673052918fcd4a49e1ab7708d2
This commit is contained in:
Hugo Benichi
2017-11-15 22:59:32 +00:00
committed by android-build-merger

View File

@@ -5616,7 +5616,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) {