diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2014-05-20 17:17:21 -0700 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2014-05-20 17:17:21 -0700 |
commit | 247675e5d919c6892722bf4442f54b3266366e51 (patch) | |
tree | d26756ab4b8e2f02899cc038fea893d7dc0ecb65 /core/tests | |
parent | 430259a1d83446d9aac1c27f88bff923c14d9a8c (diff) | |
download | frameworks_base-247675e5d919c6892722bf4442f54b3266366e51.zip frameworks_base-247675e5d919c6892722bf4442f54b3266366e51.tar.gz frameworks_base-247675e5d919c6892722bf4442f54b3266366e51.tar.bz2 |
Fix build.
Change-Id: I5c09a406b6c43318cea600171b8dd25eeeffa673
Diffstat (limited to 'core/tests')
2 files changed, 6 insertions, 6 deletions
diff --git a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java index 2ce87eb..db125e6 100644 --- a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java +++ b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java @@ -174,12 +174,12 @@ public class AccessPointParserHelper { public void endElement(String uri, String localName, String tagName) throws SAXException { if (tagName.equalsIgnoreCase("accesspoint")) { if (mLinkProperties != null) { - config.ipAssignment = IpAssignment.STATIC; - config.linkProperties = mLinkProperties; + config.setIpAssignment(IpAssignment.STATIC); + config.setLinkProperties(mLinkProperties); } else { - config.ipAssignment = IpAssignment.DHCP; + config.setIpAssignment(IpAssignment.DHCP); } - config.proxySettings = ProxySettings.NONE; + config.setProxySettings(ProxySettings.NONE); networks.add(config); mLinkProperties = null; } diff --git a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiStressTest.java b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiStressTest.java index 9692ec0..08618d6 100644 --- a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiStressTest.java +++ b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiStressTest.java @@ -233,8 +233,8 @@ public class WifiStressTest } else { config.preSharedKey = '"' + mPassword + '"'; } - config.ipAssignment = IpAssignment.DHCP; - config.proxySettings = ProxySettings.NONE; + config.setIpAssignment(IpAssignment.DHCP); + config.setProxySettings(ProxySettings.NONE); assertTrue("Failed to connect to Wi-Fi network: " + mSsid, connectToWifiWithConfiguration(config)); |