summaryrefslogtreecommitdiffstats
path: root/packages/SettingsLib/src/com/android/settingslib
diff options
context:
space:
mode:
authorSravanthi Palakonda <srapal@codeaurora.org>2015-07-24 15:21:32 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:27:11 -0600
commit524bc996d6a067d8378805071f18239b65b7354e (patch)
treee627217b4f0077f592fedf0a557f314a6fbcb706 /packages/SettingsLib/src/com/android/settingslib
parent2faea7ee16198a12417befa65df8bf86c5413fdb (diff)
downloadframeworks_base-524bc996d6a067d8378805071f18239b65b7354e.zip
frameworks_base-524bc996d6a067d8378805071f18239b65b7354e.tar.gz
frameworks_base-524bc996d6a067d8378805071f18239b65b7354e.tar.bz2
WiFi: Do not use SSIDs to differentiate between two networks.
Wifi networks shall exist with same SSID, BSSID and with different security. Hence do not consider only SSID as the factor to differentiate networks. Change-Id: Ib06bb9c91db310ddb20eca319bd268e582a164ff
Diffstat (limited to 'packages/SettingsLib/src/com/android/settingslib')
-rw-r--r--packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java b/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java
index 632a867..1ac9427 100644
--- a/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java
+++ b/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java
@@ -640,12 +640,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
} else if (config != null) {
return matches(config);
}
- else {
- // Might be an ephemeral connection with no WifiConfiguration. Try matching on SSID.
- // (Note that we only do this if the WifiConfiguration explicitly equals INVALID).
- // TODO: Handle hex string SSIDs.
- return ssid.equals(removeDoubleQuotes(info.getSSID()));
- }
+ return false;
}
public boolean isSaved() {