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

Skip to content
Commit 8b2fb60f authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix for incorrect cycle evaluation in computeOomAdj

Use the conservative value of adj and procstate if at least
one evaluation pass was completed, even if the value is not
final. The later iterations through the procs that have
cycles will elevate the apps if necessary. Otherwise the
dependencies will just get stuck in a low state.

Bug: 79643956
Test: Manual test of connecting to AA and turning off screen
      atest CtsAppTestCases:ActivityManagerProcessStateTest

Change-Id: If520eb239935782e2487b16e8bb650ded775f184
parent d2af61a1
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