diff options
author | Hai Shalom <haishalom@google.com> | 2019-05-09 15:39:49 -0700 |
---|---|---|
committer | Hai Shalom <haishalom@google.com> | 2019-05-10 17:17:40 +0000 |
commit | 323e61ee215bc1995a6bc5434e935bf4bf1ce7ce (patch) | |
tree | 05992e0a683c5a73d3c1bf1446377824379b114d /service | |
parent | 4c9a76bb81ed1be218f0b49a68f15f063a79f4bb (diff) |
[OWE] Rename variables with incorrect names
Rename variables with incorrect names in WifiNetworkSelector.java
From EasyConnect to EnhancedOpen.
Bug: 132373753
Test: atest WifiNetworkSelectorTest
Change-Id: Ic875017fd46dc214ce2f09261d6cdd44022994d6
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/WifiNetworkSelector.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/service/java/com/android/server/wifi/WifiNetworkSelector.java b/service/java/com/android/server/wifi/WifiNetworkSelector.java index f084e3151..00d245893 100644 --- a/service/java/com/android/server/wifi/WifiNetworkSelector.java +++ b/service/java/com/android/server/wifi/WifiNetworkSelector.java @@ -108,8 +108,8 @@ public class WifiNetworkSelector { private final WifiNative mWifiNative; private final Map<String, WifiCandidates.CandidateScorer> mCandidateScorers = new ArrayMap<>(); - private boolean mIsEasyConnectSupportedInitialized = false; - private boolean mIsEasyConnectSupported; + private boolean mIsEnhancedOpenSupportedInitialized = false; + private boolean mIsEnhancedOpenSupported; /** * WiFi Network Selector supports various categories of networks. Each category @@ -420,14 +420,14 @@ public class WifiNetworkSelector { } private boolean isEnhancedOpenSupported() { - if (mIsEasyConnectSupportedInitialized) { - return mIsEasyConnectSupported; + if (mIsEnhancedOpenSupportedInitialized) { + return mIsEnhancedOpenSupported; } - mIsEasyConnectSupportedInitialized = true; - mIsEasyConnectSupported = (mWifiNative.getSupportedFeatureSet( + mIsEnhancedOpenSupportedInitialized = true; + mIsEnhancedOpenSupported = (mWifiNative.getSupportedFeatureSet( mWifiNative.getClientInterfaceName()) & WIFI_FEATURE_OWE) != 0; - return mIsEasyConnectSupported; + return mIsEnhancedOpenSupported; } /** |