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

Commit 938079c9 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix drawing of phone signal chart.

Change-Id: I15253624ab37d3a494a541d813ee1bf2187e145d
parent 4d83bd2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -560,7 +560,7 @@ public class BatteryHistoryChart extends View {
            int x = tick&PHONE_SIGNAL_X_MASK;
            int bin = (tick&PHONE_SIGNAL_BIN_MASK) >> PHONE_SIGNAL_BIN_SHIFT;
            if (lastBin != 0) {
                canvas.drawRect(lastX, top, x, bottom, mPhoneSignalPaints[bin]);
                canvas.drawRect(lastX, top, x, bottom, mPhoneSignalPaints[lastBin]);
            }
            lastBin = bin;
            lastX = x;