Merge "Display connect button in the wifi connection menu"
am: 9126cfba19
* commit '9126cfba19c92d9fbce928ddd0caf7b098b94d3b':
Display connect button in the wifi connection menu
Change-Id: I92ec007a194f6717ec3bea22107c97c555bca09c
This commit is contained in:
@@ -254,7 +254,7 @@ public class WifiConfigController implements TextWatcher,
|
||||
final DetailedState state = mAccessPoint.getDetailedState();
|
||||
final String signalLevel = getSignalString();
|
||||
|
||||
if (state == null && signalLevel != null) {
|
||||
if ((state == null || state == DetailedState.DISCONNECTED) && signalLevel != null) {
|
||||
mConfigUi.setSubmitButton(res.getString(R.string.wifi_connect));
|
||||
} else {
|
||||
if (state != null) {
|
||||
|
Reference in New Issue
Block a user