Merge "Increase the max process count supported by BatteryStats" into udc-d1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9763c6d139
@@ -16244,7 +16244,7 @@ public class BatteryStatsImpl extends BatteryStats {
|
|||||||
}
|
}
|
||||||
|
|
||||||
NP = in.readInt();
|
NP = in.readInt();
|
||||||
if (NP > 1000) {
|
if (NP > 10000) {
|
||||||
throw new ParcelFormatException("File corrupt: too many processes " + NP);
|
throw new ParcelFormatException("File corrupt: too many processes " + NP);
|
||||||
}
|
}
|
||||||
for (int ip = 0; ip < NP; ip++) {
|
for (int ip = 0; ip < NP; ip++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user