Fix DhcpResults.setDomain() and StaticIpConfiguration.toLinkProperties()

setDomain() and toLinkProperties() were not setting the domains.
The setDomain() bug affected Wifi and I believe the toLinkProperties()
bug affected Ethernet and Bluetooth reverse-tethering.

bug:18252947
Change-Id: I8764cb944c293e01d99822bb52b55af7e9d77853
This commit is contained in:
Paul Jensen
2014-11-05 09:35:26 -05:00
parent d8a21bbedb
commit c53113b37f
2 changed files with 3 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ public class DhcpResults extends StaticIpConfiguration {
vendorInfo = info;
}
public void setDomains(String domains) {
domains = domains;
public void setDomains(String newDomains) {
domains = newDomains;
}
}

View File

@@ -107,6 +107,7 @@ public class StaticIpConfiguration implements Parcelable {
for (InetAddress dns : dnsServers) {
lp.addDnsServer(dns);
}
lp.setDomains(domains);
return lp;
}