summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-04-13 19:35:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-13 19:35:52 +0000
commit8f7a2efe867fd31f1e892c962d84e51c3c45e9cf (patch)
treeed1dacc84c71ffaeb9dec5d82a92bdde398b622a /libs
parent3b95536f3a8856424f20b422eab91355e97b3cc0 (diff)
parent62cc44116d1cdc074e0360930ff88ce36082254d (diff)
Merge "[WifiTrackerLib] Fix connected passpoint entry not showing" into rvc-dev
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 -> {