Merge "Expose netId by adding getter API" into rvc-dev am: cf99dc2717

Change-Id: I826f8a561b2bd0f456302247f90d26ffc42c42df
This commit is contained in:
Junyu Lai
2020-03-20 11:23:27 +00:00
committed by Automerger Merge Worker

View File

@@ -1494,7 +1494,7 @@ public class Tethering {
} else {
dnsServers = mConfig.defaultIPv4DNS;
}
final int netId = (network != null) ? network.netId : NETID_UNSET;
final int netId = (network != null) ? network.getNetId() : NETID_UNSET;
try {
mNetd.tetherDnsSet(netId, dnsServers);
mLog.log(String.format(