diff options
author | Quang Luong <qal@google.com> | 2020-09-11 23:04:06 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-09-11 23:04:06 +0000 |
commit | 31f3efd3f954fbf856eb48df8d412cc4e264d140 (patch) | |
tree | d28ca83c7902ad54fad89a93cebcd32b36301a0e /libs/WifiTrackerLib/src | |
parent | 983559538b3272d5b3e2f6ecb1c0c8178a2d2284 (diff) | |
parent | 55f0b610209c040be53d40413328df35e3ece758 (diff) | |
download | frameworks_opt_net_wifi-31f3efd3f954fbf856eb48df8d412cc4e264d140.tar.gz frameworks_opt_net_wifi-31f3efd3f954fbf856eb48df8d412cc4e264d140.tar.bz2 frameworks_opt_net_wifi-31f3efd3f954fbf856eb48df8d412cc4e264d140.zip |
Merge "[WifiTrackerLib] Don't prompt password for never-connected networks" into rvc-qpr-dev am: 55f0b61020
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/12553236
Change-Id: Ifa4bb91d70b684fb081b25debf0bfd941de6738b
Diffstat (limited to 'libs/WifiTrackerLib/src')
-rw-r--r-- | libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java index 2095e95e3..51270545b 100644 --- a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java +++ b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java @@ -682,12 +682,6 @@ public class StandardWifiEntry extends WifiEntry { return false; } - // The secured Wi-Fi entry is never connected. - if (getSecurity() != SECURITY_NONE && getSecurity() != SECURITY_OWE - && !wifiConfig.getNetworkSelectionStatus().hasEverConnected()) { - return true; - } - // The network is disabled because of one of the authentication problems. NetworkSelectionStatus networkSelectionStatus = wifiConfig.getNetworkSelectionStatus(); if (networkSelectionStatus.getNetworkSelectionStatus() != NETWORK_SELECTION_ENABLED) { |