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 /core/tests/ConnectivityManagerTest | |
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 'core/tests/ConnectivityManagerTest')
-rw-r--r-- | core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java index db125e6..116a31e 100644 --- a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java +++ b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java @@ -336,7 +336,7 @@ public class AccessPointParserHelper { if (!InetAddress.isNumeric(dnsAddr)) { throw new SAXException(); } - mLinkProperties.addDns(InetAddress.getByName(dnsAddr)); + mLinkProperties.addDnsServer(InetAddress.getByName(dnsAddr)); } catch (UnknownHostException e) { throw new SAXException(); } @@ -348,7 +348,7 @@ public class AccessPointParserHelper { if (!InetAddress.isNumeric(dnsAddr)) { throw new SAXException(); } - mLinkProperties.addDns(InetAddress.getByName(dnsAddr)); + mLinkProperties.addDnsServer(InetAddress.getByName(dnsAddr)); } catch (UnknownHostException e) { throw new SAXException(); } |