diff options
author | Quang Luong <qal@google.com> | 2020-09-11 22:31:42 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-09-11 22:31:42 +0000 |
commit | 55f0b610209c040be53d40413328df35e3ece758 (patch) | |
tree | 5c6efa20e04e91f1133db3fdd6c99faae023a43c | |
parent | 76bd3535778479c7bcdb8d267c0325b42d19a46f (diff) | |
parent | 5d1c5997e933e4315aad82ad4b9da89c7e9da296 (diff) |
Merge "[WifiTrackerLib] Don't prompt password for never-connected networks" into rvc-qpr-dev
-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) { |