diff options
| author | 2022-10-28 14:47:06 -0600 | |
|---|---|---|
| committer | 2022-10-28 19:37:39 -0600 | |
| commit | 5564cddbd70a3745e516c39f5299de3886fdf936 (patch) | |
| tree | afe5b7290a0b2f8197417a3b1af3a20d72219a09 /libs/androidfw/StringPool.cpp | |
| parent | 2f57686ace74a62f8b95cd3d5b4bf194b31d70eb (diff) | |
BroadcastQueue: fix subtle OOM adjustment bug.
updateOomAdjPendingTargetsLocked() only takes effect for processes
that are already running as warm; it doesn't work on a process that
is still being cold started.
This change fixes the bug by making an explicit update call once
a pending cold start has become a warm process.
Bug: 255985948
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest#testBackgroundCheckBroadcastService
Change-Id: I7e42984c7b7fd6e496fc9245304f1eff8ad71075
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions