Include START event (reboots) in partial history.
Change-Id: Ia1e5fba6c2c7bdb3f09eb5958d7134564d60e8b0
This commit is contained in:
@@ -3303,7 +3303,8 @@ public abstract class BatteryStats implements Parcelable {
|
||||
if (rec.time >= histStart) {
|
||||
if (histStart >= 0 && !printed) {
|
||||
if (rec.cmd == HistoryItem.CMD_CURRENT_TIME
|
||||
|| rec.cmd == HistoryItem.CMD_RESET) {
|
||||
|| rec.cmd == HistoryItem.CMD_RESET
|
||||
|| rec.cmd == HistoryItem.CMD_START) {
|
||||
printed = true;
|
||||
hprinter.printNextItem(pw, rec, baseTime, checkin,
|
||||
(flags&DUMP_VERBOSE) != 0);
|
||||
|
||||
Reference in New Issue
Block a user