Don't remove the common processes from the procstats.resetSafely
As we're resetting it right after that, it doesn't make sense to explicitly remove it. Bug: 233563626 Test: atest ProcStatsValidationTests Test: atest ProcessStatsDumpsysTest Test: atest CtsIncidentHostTestCases:ProcStatsProtoTest Change-Id: Ibd12379a7678a60238af79f86e694e1dc3c97176
This commit is contained in:
@@ -607,7 +607,6 @@ public final class ProcessStats implements Parcelable {
|
||||
}
|
||||
} else {
|
||||
ps.makeDead();
|
||||
mUidStates.get(uids.keyAt(iu)).removeProcess(ps, now);
|
||||
uids.removeAt(iu);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user