summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java
index 86845c7b4..c48ca738d 100644
--- a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java
+++ b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiPickerTracker.java
@@ -727,7 +727,7 @@ public class WifiPickerTracker extends BaseWifiTracker {
final String connectedFqdn = wifiInfo.getPasspointFqdn();
mPasspointConfigCache.values().stream()
.filter(config ->
- config.getHomeSp().getFqdn() == connectedFqdn
+ TextUtils.equals(config.getHomeSp().getFqdn(), connectedFqdn)
&& !mPasspointWifiEntryCache.containsKey(
uniqueIdToPasspointWifiEntryKey(config.getUniqueId())))
.findAny().ifPresent(config -> {