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

Commit dd61c7e8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix screen on count text dump" into pi-dev

parents 62bb0802 90902651
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -4447,8 +4447,7 @@ public abstract class BatteryStats implements Parcelable {
            pw.println(sb.toString());
        }

        final long dischargeScreenOnCount =
                dischargeCount - dischargeScreenOffCount - dischargeScreenDozeCount;
        final long dischargeScreenOnCount = dischargeCount - dischargeScreenOffCount;
        if (dischargeScreenOnCount >= 0) {
            sb.setLength(0);
            sb.append(prefix);