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

Commit d45403ee authored by Brandon Dayauon's avatar Brandon Dayauon Committed by Android (Google) Code Review
Browse files

Merge "Fix text jumping from one line -> two line when scrolling" into main

parents e8f7dd5a 6c345f4d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -815,6 +815,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
        float currentWordWidth, runningWidth = 0;
        CharSequence currentWord;
        StringBuilder newString = new StringBuilder();
        // TODO: Remove when ENABLE_ICON_LABEL_AUTO_SCALING feature flag is being cleaned up.
        paint.setLetterSpacing(MIN_LETTER_SPACING);
        int stringPtr = 0;
        for (int i = 0; i < breakPoints.size()+1; i++) {
            if (i < breakPoints.size()) {