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
This commit is contained in:
Andreas Gampe
2016-02-26 14:47:39 -08:00
parent f6fde7e044
commit 06f0e41ebd

View File

@@ -423,9 +423,6 @@ public class BoringLayout extends Layout implements TextUtils.EllipsizeCallback
private float mMax;
private int mEllipsizedWidth, mEllipsizedStart, mEllipsizedCount;
private static final TextPaint sTemp =
new TextPaint();
public static class Metrics extends Paint.FontMetricsInt {
public int width;