Refactor hotspot into a full page
- Deprecated WifiAPEnabler, and copied most of its logic into various controllers and WifiTetherSettings. - Added tests Fix: 37253404 Fix: 36181835 Test: make RunSettingsRoboTests Change-Id: Iad994d61b694ad7f1113d045a3e7500eeaec178b
This commit is contained in:
@@ -110,7 +110,6 @@ public class WifiConfigController implements TextWatcher,
|
||||
public static final int WIFI_PEAP_PHASE2_AKA = 4;
|
||||
public static final int WIFI_PEAP_PHASE2_AKA_PRIME = 5;
|
||||
|
||||
private static final int SSID_ASCII_MAX_LENGTH = 32;
|
||||
|
||||
/* Phase2 methods supported by PEAP are limited */
|
||||
private final ArrayAdapter<String> mPhase2PeapAdapter;
|
||||
@@ -463,7 +462,7 @@ public class WifiConfigController implements TextWatcher,
|
||||
|
||||
if (mSsidView != null) {
|
||||
final String ssid = mSsidView.getText().toString();
|
||||
if (ssid.length() > SSID_ASCII_MAX_LENGTH) {
|
||||
if (WifiUtils.isSSIDTooLong(ssid)) {
|
||||
mView.findViewById(R.id.ssid_too_long_warning).setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user