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

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

Change-Id: I6f10845788ba5558637703da6d8c5c41324935cc
parents c9c65317 e28513f1
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) {