Merge "IP connectivity metrics: fix LINGER/UNLINGER logging"

am: 9632d1eef4

Change-Id: I6f10845788ba5558637703da6d8c5c41324935cc
This commit is contained in:
Hugo Benichi
2017-11-15 22:42:50 +00:00
committed by android-build-merger

View File

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