Merge "Increase the max process count supported by BatteryStats" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
30bcee9d21
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user