diff options
author | NedaTopoljanac <tneda@google.com> | 2018-09-05 18:29:30 +0100 |
---|---|---|
committer | Ecco Park <eccopark@google.com> | 2018-09-13 17:47:47 +0000 |
commit | 21d4c6e06c6235c8971324be1bace324ba2b7481 (patch) | |
tree | 36e2c737e7d4d646fa0bb34ba914e07b1bfe391f /service/java/com/android/server/wifi/WifiConfigManager.java | |
parent | ceafd95ecce73d175fde04ee1010fb91f1b29c4e (diff) | |
download | android_frameworks_opt_net_wifi-21d4c6e06c6235c8971324be1bace324ba2b7481.tar.gz android_frameworks_opt_net_wifi-21d4c6e06c6235c8971324be1bace324ba2b7481.tar.bz2 android_frameworks_opt_net_wifi-21d4c6e06c6235c8971324be1bace324ba2b7481.zip |
Cleaning up unnecessary code for TLS reconnect sequence.
Previously, when user unlocks the screen for the first time after reboot,
it was necessary to start reconnecting sequence in order to connect to WiFi.
Since it isn't a case anymore this code is redundant.
Bug: 64033284
Test: Manually, set up screen lock, reboot and check if it is connecting to WiFi before unlocking it.
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I5c85457bf60054f8993164dbf4472289ac26363f
Diffstat (limited to 'service/java/com/android/server/wifi/WifiConfigManager.java')
-rw-r--r-- | service/java/com/android/server/wifi/WifiConfigManager.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/service/java/com/android/server/wifi/WifiConfigManager.java b/service/java/com/android/server/wifi/WifiConfigManager.java index 558a1f3bb..e1dbf6dc1 100644 --- a/service/java/com/android/server/wifi/WifiConfigManager.java +++ b/service/java/com/android/server/wifi/WifiConfigManager.java @@ -2494,23 +2494,6 @@ public class WifiConfigManager { } /** - * Any network using certificates to authenticate access requires unlocked key store; unless - * the certificates can be stored with hardware encryption - * - * @return true if we need an unlocked keystore, false otherwise. - */ - public boolean needsUnlockedKeyStore() { - for (WifiConfiguration config : getInternalConfiguredNetworks()) { - if (WifiConfigurationUtil.isConfigForEapNetwork(config)) { - if (mWifiKeyStore.needsSoftwareBackedKeyStore(config.enterpriseConfig)) { - return true; - } - } - } - return false; - } - - /** * Helper method to perform the following operations during user switch/unlock: * - Remove private networks of the old user. * - Load from the new user store file. |