Merge "Display connect button in the wifi connection menu" am: 9126cfba19
am: ace9f52725
am: aa5afb18fe
* commit 'aa5afb18fe24317584549460f6093826d59d414f':
Display connect button in the wifi connection menu
Change-Id: If596c032697643ddc1b530dca3827added381ea0
This commit is contained in:
@@ -279,7 +279,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