diff options
author | Irfan Sheriff <isheriff@google.com> | 2011-10-31 13:37:06 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2011-10-31 13:39:14 -0700 |
commit | b9dfea636fd61e3b532a31cdc35f9c99a68686ef (patch) | |
tree | b4c48d87ba2a36e3255c5cca585cd3b3fd68dc55 /src/com/android/settings/wifi/WifiConfigController.java | |
parent | 49a681c4928d63b86fca0a546ee60b4f95d16669 (diff) | |
download | packages_apps_Settings-b9dfea636fd61e3b532a31cdc35f9c99a68686ef.tar.gz packages_apps_Settings-b9dfea636fd61e3b532a31cdc35f9c99a68686ef.tar.bz2 packages_apps_Settings-b9dfea636fd61e3b532a31cdc35f9c99a68686ef.zip |
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
Diffstat (limited to 'src/com/android/settings/wifi/WifiConfigController.java')
-rw-r--r-- | src/com/android/settings/wifi/WifiConfigController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/wifi/WifiConfigController.java b/src/com/android/settings/wifi/WifiConfigController.java index 44dc84514..2f8ae5491 100644 --- a/src/com/android/settings/wifi/WifiConfigController.java +++ b/src/com/android/settings/wifi/WifiConfigController.java @@ -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); |