Merge "Display connect button in the wifi connection menu"
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