[WifiTrackerLib] Don't prompt password for never-connected networks

Password shouldn't be prompted for secure saved networks that haven't
been connected to.

Bug: 160727383
Test: added a saved network via shell and manually connected to it, observe that
password prompt does not pop up.

Change-Id: Ib98fcbda077eacf22614aba766dba6ecb32a2ada
diff --git a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
index 5292e17..53a14ec 100644
--- a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
+++ b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
@@ -681,12 +681,6 @@
             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) {