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

Commit 06f0e41e authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Frameworks/base: Remove unused field

Remove an unused field in BoringLayout. This has also the positive
side effect of allowing static initialization in the boot image.

Bug: 27248115
Change-Id: I9d6beec5f5e045ef899e8979ece96e0239f82076
parent f6fde7e0
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -423,9 +423,6 @@ public class BoringLayout extends Layout implements TextUtils.EllipsizeCallback
    private float mMax;
    private float mMax;
    private int mEllipsizedWidth, mEllipsizedStart, mEllipsizedCount;
    private int mEllipsizedWidth, mEllipsizedStart, mEllipsizedCount;


    private static final TextPaint sTemp =
                                new TextPaint();

    public static class Metrics extends Paint.FontMetricsInt {
    public static class Metrics extends Paint.FontMetricsInt {
        public int width;
        public int width;