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 cd33c65aca
commit aadf9b78b4

View File

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