Merge "Fix screen on count text dump" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dd61c7e8e7
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user