summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2022-10-28 14:47:06 -0600
committer Jeff Sharkey <jsharkey@android.com> 2022-10-28 19:37:39 -0600
commit5564cddbd70a3745e516c39f5299de3886fdf936 (patch)
treeafe5b7290a0b2f8197417a3b1af3a20d72219a09 /libs/androidfw/StringPool.cpp
parent2f57686ace74a62f8b95cd3d5b4bf194b31d70eb (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