Merge "Fix WPS pin input UI" into ics-mr0

This commit is contained in:
Irfan Sheriff
2011-10-31 14:01:42 -07:00
committed by Android (Google) Code Review

View File

@@ -575,7 +575,7 @@ public class WifiConfigController implements TextWatcher,
int pos = mNetworkSetupSpinner.getSelectedItemPosition();
/* Show pin text input if needed */
if (pos == WPS_DISPLAY) {
if (pos == WPS_KEYPAD) {
mView.findViewById(R.id.wps_fields).setVisibility(View.VISIBLE);
} else {
mView.findViewById(R.id.wps_fields).setVisibility(View.GONE);