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

Commit 8b6286ee authored by Ahaan Ugale's avatar Ahaan Ugale Committed by Automerger Merge Worker
Browse files

Merge "Fix ellipsis reinitialization for static cached StaticLayout." into sc-dev am: dba0fb55

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13500385

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia0fb671cac4942be455a003e10485af49ff94b05
parents 15fd8bb7 dba0fb55
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -977,6 +977,9 @@ public class StaticLayout extends Layout {
                calculateEllipsis(start, end, measured, widthStart,
                        ellipsisWidth, ellipsize, j,
                        textWidth, paint, forceEllipsis);
            } else {
                mLines[mColumns * j + ELLIPSIS_START] = 0;
                mLines[mColumns * j + ELLIPSIS_COUNT] = 0;
            }
        }