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

Commit a34e762b 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

am: 5ecc02d2

Change-Id: Ifb4911e1077f8c673052918fcd4a49e1ab7708d2
parents a786f00f 5ecc02d2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) {