Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5564cddb authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

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
parent 2f57686a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment