am 938079c9
: Fix drawing of phone signal chart.
Merge commit '938079c9b36f0a45e58b5b086393647d71aebeba' into gingerbread-plus-aosp * commit '938079c9b36f0a45e58b5b086393647d71aebeba': Fix drawing of phone signal chart.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user