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

Commit 2e8bf1aa authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 938079c9: Fix drawing of phone signal chart.

Merge commit '938079c9' into gingerbread-plus-aosp

* commit '938079c9':
  Fix drawing of phone signal chart.
parents bc77ddbc 938079c9
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;