Prevent repeated battery history in checkin dump

Bug: 265689257
Test: adb shell dumpsys batterystats --checkin --history
Change-Id: Ic0eb592632c6e150155649f78b2f76654782239d
This commit is contained in:
Dmitri Plotnikov
2023-01-26 18:04:55 -08:00
parent 20eda2eb18
commit 3403ebc55b

View File

@@ -7828,8 +7828,8 @@ public abstract class BatteryStats {
}
pw.print("\"");
pw.println();
dumpHistory(pw, flags, histStart, true);
}
dumpHistory(pw, flags, histStart, true);
}
if ((flags & DUMP_HISTORY_ONLY) != 0) {