Merge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: 9632d1eef4 am: 2c939b0d7a

am: 5b13decb2a

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) { 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) {