summaryrefslogtreecommitdiffstats
path: root/core/tests/ConnectivityManagerTest
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2010-12-16 07:43:58 -0800
committerIrfan Sheriff <isheriff@google.com>2010-12-16 07:45:58 -0800
commit58938159ec378670ea784d07aa13ac47f4730cbb (patch)
tree9de871a6af5b8c251df6b4c497d817c58e2d0c18 /core/tests/ConnectivityManagerTest
parent3a65de795d5bf8f575a38a2ad83d5e3e234ae4a6 (diff)
downloadframeworks_base-58938159ec378670ea784d07aa13ac47f4730cbb.zip
frameworks_base-58938159ec378670ea784d07aa13ac47f4730cbb.tar.gz
frameworks_base-58938159ec378670ea784d07aa13ac47f4730cbb.tar.bz2
Fix ssid storage regression
I introduced a bug with change Ic12fd78f. Quite possibly a copy-paste issue. Bug: 3281928 Change-Id: I040fa8580c3d6d5c585d0e5cc4306daab2f44c3d
Diffstat (limited to 'core/tests/ConnectivityManagerTest')
-rw-r--r--core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/WifiClientTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/WifiClientTest.java b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/WifiClientTest.java
index 6717bda..e0a3ee6 100644
--- a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/WifiClientTest.java
+++ b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/WifiClientTest.java
@@ -77,7 +77,7 @@ public class WifiClientTest extends AndroidTestCase {
List<WifiConfiguration> configList = mWifiManager.getConfiguredNetworks();
boolean found = false;
for (WifiConfiguration c : configList) {
- if (c.networkId == netId) {
+ if (c.networkId == netId && c.SSID.equals(config.SSID)) {
found = true;
}
}