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

Commit b07ce173 authored by Xiyuan Xia's avatar Xiyuan Xia
Browse files

Use fillColor for battery bolt color.

Bug: 20178901
Change-Id: I19b1de98ece6681f5dd0a15a35f55fb88e4c2cfc
parent 37c905e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -328,7 +328,7 @@ public class BatteryMeterView extends View implements DemoMode,
        int fillColor = getFillColor(darkIntensity);
        int fillColor = getFillColor(darkIntensity);
        mIconTint = fillColor;
        mIconTint = fillColor;
        mFramePaint.setColor(backgroundColor);
        mFramePaint.setColor(backgroundColor);
        mBoltPaint.setColor(backgroundColor);
        mBoltPaint.setColor(fillColor);
        mChargeColor = fillColor;
        mChargeColor = fillColor;
        invalidate();
        invalidate();
    }
    }