Remove WifiEntry transitional security types
WifiEntry should only supply one security type through getSecurity(), and transitional types should be converted to the security type that will be used for connection. Test: build Bug: 70983952 Change-Id: I977f6b955b7794124e9b90ad4655cd2a2a30cb6e
This commit is contained in:
@@ -277,7 +277,7 @@ public class WifiConfigController2 implements TextWatcher,
|
||||
mHiddenSettingsSpinner.getSelectedItemPosition() == NOT_HIDDEN_NETWORK
|
||||
? View.GONE
|
||||
: View.VISIBLE);
|
||||
mSecurityInPosition = new Integer[WifiEntry.SECURITY_MAX_VAL];
|
||||
mSecurityInPosition = new Integer[WifiEntry.NUM_SECURITY_TYPES];
|
||||
|
||||
if (mWifiEntry == null) { // new network
|
||||
configureSecuritySpinner();
|
||||
|
Reference in New Issue
Block a user