Merge "Expose netId by adding getter API" into rvc-dev
This commit is contained in:
commit
cf99dc2717
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue