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

Commit dfad017f authored by Kweku Adams's avatar Kweku Adams
Browse files

Fix loop indexing.

Bug: 253292374
Bug: 275660580
Test: N/A
Change-Id: I2f94b3cbe1723986b1f91a5616ca913160b9566e
parent 8b84c481
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -360,7 +360,7 @@ public class PowerStatsService extends SystemService {
                    sb.append("ALL");
                }
                sb.append("[");
                for (int i = 0; i < expectedLength; i++) {
                for (int i = 0; i < energyConsumerIds.length; i++) {
                    final int id = energyConsumerIds[i];
                    sb.append(id);
                    sb.append("(type:");