summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-09-12 21:13:00 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-09-12 21:13:00 +0000
commit081dca7d45a595a96b1ddd9cb9789bb82ebf7739 (patch)
tree5c6efa20e04e91f1133db3fdd6c99faae023a43c
parent5f459f4813b044ce614cbf6f52fbfaba255e081e (diff)
parent55f0b610209c040be53d40413328df35e3ece758 (diff)
Snap for 6830177 from 55f0b610209c040be53d40413328df35e3ece758 to rvc-qpr1-release
Change-Id: I5df559d6624c37c5d82bbd4adb0908e85b97f21e
-rw-r--r--libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java6
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) {