Merge "Remove WifiEntry transitional security types"

This commit is contained in:
Quang Luong
2020-01-23 19:49:43 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 6 deletions

View File

@@ -276,7 +276,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();