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

Commit 26a1726b authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Remove usage of hidden .netId in IpConnectivityLog

Use the Network#getNetId API instead.

IpConnectivityLog is planned to be outside of the connectivity module,
so it cannot use hidden symbols implemented in the module.

Bug: 174436414
Test: m
Change-Id: I947a32612c59b53f22fe1c38706de8919ca5043a
parent 539dbe61
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ public class IpConnectivityLog {
     * @return true if the event was successfully logged.
     */
    public boolean log(@NonNull Network network, @NonNull int[] transports, @NonNull Event data) {
        return log(network.netId, transports, data);
        return log(network.getNetId(), transports, data);
    }

    /**