Merge "Increase the max process count supported by BatteryStats" into udc-d1-dev am: 9763c6d139 am: ea3d940c69
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23937328 Change-Id: I36f3af4bd2cdbc618bcf70ea755f2f6ec6567d1b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user