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

Commit 474ef063 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
parent edab739e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16246,7 +16246,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++) {