diff options
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)); |