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

Commit 8568d8fd authored by Adam Lesinski's avatar Adam Lesinski
Browse files

BatteryStats: Don't print empty platform idle state

Bug:28863586
Change-Id: Iac1fae2063498337c7325011603933aa4f6ebfdd
parent 28318faf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4922,7 +4922,9 @@ public abstract class BatteryStats implements Parcelable {
                        pw.print(',');
                        pw.print(rec.stepDetails.statIdlTime);
                        pw.print(',');
                        if (rec.stepDetails.statPlatformIdleState != null) {
                            pw.print(rec.stepDetails.statPlatformIdleState);
                        }
                        pw.println();
                    }
                }