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

Commit 6126f188 authored by Sally Yuen's avatar Sally Yuen Committed by Android (Google) Code Review
Browse files

Merge "Call assumeLayout for accessibility" into main

parents aed2fe0d 1224a2f0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -15555,6 +15555,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
    private void ensureIterableTextForAccessibilitySelectable() {
        if (!(mText instanceof Spannable)) {
            setText(mText, BufferType.SPANNABLE);
            if (getLayout() == null) {
                assumeLayout();
            }
        }
    }