Merge "Expose netId by adding getter API"
This commit is contained in:
@@ -1497,7 +1497,7 @@ public class Tethering {
|
|||||||
} else {
|
} else {
|
||||||
dnsServers = mConfig.defaultIPv4DNS;
|
dnsServers = mConfig.defaultIPv4DNS;
|
||||||
}
|
}
|
||||||
final int netId = (network != null) ? network.netId : NETID_UNSET;
|
final int netId = (network != null) ? network.getNetId() : NETID_UNSET;
|
||||||
try {
|
try {
|
||||||
mNetd.tetherDnsSet(netId, dnsServers);
|
mNetd.tetherDnsSet(netId, dnsServers);
|
||||||
mLog.log(String.format(
|
mLog.log(String.format(
|
||||||
|
|||||||
Reference in New Issue
Block a user