diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2014-06-06 10:30:11 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2014-06-08 12:54:23 -0700 |
commit | df2b878ff4e7b4a258588d3a93574c399db78a07 (patch) | |
tree | 465275c2d074921e123c726f3a0063c0541cf1dd /services/core/java/com/android/server/connectivity/Tethering.java | |
parent | 915c8d58414cb9c2dd97459cacf9eefbe22267a1 (diff) | |
download | frameworks_base-df2b878ff4e7b4a258588d3a93574c399db78a07.zip frameworks_base-df2b878ff4e7b4a258588d3a93574c399db78a07.tar.gz frameworks_base-df2b878ff4e7b4a258588d3a93574c399db78a07.tar.bz2 |
Fix public API of LinkProperties.
bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
Diffstat (limited to 'services/core/java/com/android/server/connectivity/Tethering.java')
-rw-r--r-- | services/core/java/com/android/server/connectivity/Tethering.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/connectivity/Tethering.java b/services/core/java/com/android/server/connectivity/Tethering.java index c93f85d..ec3389b 100644 --- a/services/core/java/com/android/server/connectivity/Tethering.java +++ b/services/core/java/com/android/server/connectivity/Tethering.java @@ -1346,7 +1346,7 @@ public class Tethering extends BaseNetworkObserver { if (iface != null) { String[] dnsServers = mDefaultDnsServers; - Collection<InetAddress> dnses = linkProperties.getDnses(); + Collection<InetAddress> dnses = linkProperties.getDnsServers(); if (dnses != null) { // we currently only handle IPv4 ArrayList<InetAddress> v4Dnses = |