Fix password obscuring in TextView accessibility node

BUG: 14998638
Change-Id: I215ea7b11bef5242e6adb1e595df36555548c165
This commit is contained in:
Alan Viverette
2014-05-19 16:04:40 -07:00
parent 677a9f2496
commit 3a499e013c

View File

@@ -8194,7 +8194,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
final boolean isPassword = hasPasswordTransformationMethod();
info.setPassword(isPassword);
if (!isPassword) {
if (!isPassword || shouldSpeakPasswordsForAccessibility()) {
info.setText(getTextForAccessibility());
}