Merge "battery history details: update status bars on any change" into jb-mr2-dev

This commit is contained in:
Todd Poynor
2013-03-18 20:39:39 +00:00
committed by Android (Google) Code Review

View File

@@ -557,6 +557,7 @@ public class BatteryHistoryChart extends View {
lastX = x;
lastY = y;
}
}
final boolean charging =
(rec.states&HistoryItem.STATE_BATTERY_PLUGGED_FLAG) != 0;
@@ -628,7 +629,6 @@ public class BatteryHistoryChart extends View {
}
mPhoneSignalChart.addTick(x, bin);
}
}
} else if (rec.cmd != BatteryStats.HistoryItem.CMD_OVERFLOW) {
if (curLevelPath != null) {