From aadf9b78b458d8ddfc0c2c08cbd20d827926eb75 Mon Sep 17 00:00:00 2001 From: Paul Jensen Date: Wed, 5 Nov 2014 09:35:26 -0500 Subject: [PATCH] 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 --- core/java/android/net/StaticIpConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/net/StaticIpConfiguration.java b/core/java/android/net/StaticIpConfiguration.java index 5a273cfaa6..598a503bfe 100644 --- a/core/java/android/net/StaticIpConfiguration.java +++ b/core/java/android/net/StaticIpConfiguration.java @@ -107,6 +107,7 @@ public class StaticIpConfiguration implements Parcelable { for (InetAddress dns : dnsServers) { lp.addDnsServer(dns); } + lp.setDomains(domains); return lp; }