Merge "Fix crash when accessibility is on" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
98894ed410
@@ -743,7 +743,9 @@ public class WifiConfigController implements TextWatcher,
|
|||||||
InputType.TYPE_CLASS_TEXT | (((CheckBox) view).isChecked() ?
|
InputType.TYPE_CLASS_TEXT | (((CheckBox) view).isChecked() ?
|
||||||
InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD :
|
InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD :
|
||||||
InputType.TYPE_TEXT_VARIATION_PASSWORD));
|
InputType.TYPE_TEXT_VARIATION_PASSWORD));
|
||||||
|
if (pos >= 0) {
|
||||||
((EditText)mPasswordView).setSelection(pos);
|
((EditText)mPasswordView).setSelection(pos);
|
||||||
|
}
|
||||||
} else if (view.getId() == R.id.wifi_advanced_togglebox) {
|
} else if (view.getId() == R.id.wifi_advanced_togglebox) {
|
||||||
if (((CheckBox) view).isChecked()) {
|
if (((CheckBox) view).isChecked()) {
|
||||||
mView.findViewById(R.id.wifi_advanced_fields).setVisibility(View.VISIBLE);
|
mView.findViewById(R.id.wifi_advanced_fields).setVisibility(View.VISIBLE);
|
||||||
|
Reference in New Issue
Block a user