Fix crash when accessibility is on
Bug: 6600699 Change-Id: I9eb8b9871d1368bd7508873951d5719e1f2ba826
This commit is contained in:
@@ -743,7 +743,9 @@ public class WifiConfigController implements TextWatcher,
|
||||
InputType.TYPE_CLASS_TEXT | (((CheckBox) view).isChecked() ?
|
||||
InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD :
|
||||
InputType.TYPE_TEXT_VARIATION_PASSWORD));
|
||||
((EditText)mPasswordView).setSelection(pos);
|
||||
if (pos >= 0) {
|
||||
((EditText)mPasswordView).setSelection(pos);
|
||||
}
|
||||
} else if (view.getId() == R.id.wifi_advanced_togglebox) {
|
||||
if (((CheckBox) view).isChecked()) {
|
||||
mView.findViewById(R.id.wifi_advanced_fields).setVisibility(View.VISIBLE);
|
||||
|
Reference in New Issue
Block a user