Merge "Fix password obscuring in TextView accessibility node"

This commit is contained in:
Alan Viverette
2014-05-19 23:56:06 +00:00
committed by Android (Google) Code Review

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());
}