Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acee06fa authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "TextView not adding text to accessibility events."

parents 6bb68deb d37848af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
            }
        }