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

Commit 87e522ef authored by Ashish Sharma's avatar Ashish Sharma Committed by Android Git Automerger
Browse files

am 7279017f: Include START event (reboots) in partial history.

* commit '7279017f52ca1db58eb95bf881f3a2e238a7c2bd':
  Include START event (reboots) in partial history.
parents 071956a6 6020071d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);