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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user