Fix WPS pin input UI
Change If60f42f7 introduces a bug for the WPS UI. The input from access point text box should be shown for KEYPAD input Bug: 5542833 Change-Id: I27f758b31b69425f51fe7ed17bf9b787a1bf66cc
This commit is contained in:
@@ -575,7 +575,7 @@ public class WifiConfigController implements TextWatcher,
|
|||||||
int pos = mNetworkSetupSpinner.getSelectedItemPosition();
|
int pos = mNetworkSetupSpinner.getSelectedItemPosition();
|
||||||
|
|
||||||
/* Show pin text input if needed */
|
/* Show pin text input if needed */
|
||||||
if (pos == WPS_DISPLAY) {
|
if (pos == WPS_KEYPAD) {
|
||||||
mView.findViewById(R.id.wps_fields).setVisibility(View.VISIBLE);
|
mView.findViewById(R.id.wps_fields).setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
mView.findViewById(R.id.wps_fields).setVisibility(View.GONE);
|
mView.findViewById(R.id.wps_fields).setVisibility(View.GONE);
|
||||||
|
Reference in New Issue
Block a user