Skip to content
Commit 48a49c74 authored by Amith Yamasani's avatar Amith Yamasani Committed by android-build-team Robot
Browse files

Fix for incorrect cycle evaluation in computeOomAdj DO NOT MERGE

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
(cherry picked from commit d2aa4e19)
parent cbaaaff2
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