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

Commit d37848af authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

TextView not adding text to accessibility events.

Reversed conditional.

bug:5342756

Change-Id: Ia2a523af6f7b12e27275e6095ea1b137768ea14c
parent 0799e951
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);
            }
        }