summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorQuang Luong <qal@google.com>2020-03-30 14:25:49 -0700
committerQuang Luong <qal@google.com>2020-03-31 01:16:06 +0000
commit5d776fa536ae802027556e47164f8c673c6db7cb (patch)
tree56fe14154187b059e8074710e2c51f8dc6405bc2 /libs
parent776f77aa028f52fc08c51da38b502014938850ce (diff)
[WifiTrackerLib] Fix OWE security parsing for WifiEntry
Adds missing line to enable WifiEntries with OWE security to appear in the Wifi picker. Bug: 150833049 Test: manual build and visual verification, atest WifiTrackerLibTests Change-Id: I89e0019b3b9c6d4c47f77f76b9e23048a2c81e53
Diffstat (limited to 'libs')
-rw-r--r--libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java
index ef658f0cd..47fc9ed57 100644
--- a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java
+++ b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java
@@ -245,6 +245,8 @@ class Utils {
// no OWE config.
if (openInRange && openConfigExists && !oweConfigExists) {
continue;
+ } else {
+ chosenSecurityTypes.add(SECURITY_OWE);
}
} else if (isOweTransition) {
// Map to OWE if we either