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
This commit is contained in:
Remi NGUYEN VAN
2021-01-15 23:54:59 +09:00
parent 539dbe61c5
commit 26a1726b88

View File

@@ -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);
}
/**