Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ecc02d2 authored by Hugo Benichi's avatar Hugo Benichi Committed by android-build-merger
Browse files

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

am: ec039b94

Change-Id: I422ef3cd6eab19cf3de2d6d9520840a7597c4a65
parents 0ec85339 ec039b94
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) {