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

Commit e28513f1 authored by Hugo Benichi's avatar Hugo Benichi Committed by Gerrit Code Review
Browse files

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

parents cf1a4614 edf5c248
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5605,7 +5605,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) {