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

* commit 'ff36b73986439551ee4de4b4f00fdd987a734989':
  battery history details: update status bars on any change
This commit is contained in:
Todd Poynor
2013-03-18 20:48:51 +00:00
committed by Android Git Automerger

View File

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