am acee06fa: Merge "TextView not adding text to accessibility events."

* commit 'acee06fa6297c456dba86e37ba715392a7f43c3b':
  TextView not adding text to accessibility events.
This commit is contained in:
Svetoslav Ganov
2011-09-20 16:25:38 -07:00
committed by Android Git Automerger

View File

@@ -8945,7 +8945,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
final boolean isPassword = hasPasswordTransformationMethod();
if (!isPassword) {
CharSequence text = getTextForAccessibility();
if (TextUtils.isEmpty(text)) {
if (!TextUtils.isEmpty(text)) {
event.getText().add(text);
}
}