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

Commit 215affc5 authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

Increase the max process count supported by BatteryStats

Bug: 279690992
Change-Id: Ied7c8b3cab9ef088e3e54ce4683d22cfd75f73e3
Test: PixelDoU
(cherry picked from commit 474ef063)
parent ab303173
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16244,7 +16244,7 @@ public class BatteryStatsImpl extends BatteryStats {
            }
            NP = in.readInt();
            if (NP > 1000) {
            if (NP > 10000) {
                throw new ParcelFormatException("File corrupt: too many processes " + NP);
            }
            for (int ip = 0; ip < NP; ip++) {