From 5d776fa536ae802027556e47164f8c673c6db7cb Mon Sep 17 00:00:00 2001 From: Quang Luong Date: Mon, 30 Mar 2020 14:25:49 -0700 Subject: [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 --- libs/WifiTrackerLib/src/com/android/wifitrackerlib/Utils.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs') 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 -- cgit v1.2.3