Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Merge "Display connect button in the wifi connection menu"
Browse files Browse the repository at this point in the history
  • Loading branch information
pstew-dd authored and Gerrit Code Review committed May 27, 2016
2 parents 3464600 + 41a57e2 commit 9126cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/android/settings/wifi/WifiConfigController.java
Expand Up @@ -254,7 +254,7 @@ public WifiConfigController(
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) {
Expand Down

0 comments on commit 9126cfb

Please sign in to comment.