summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2018-07-09 12:07:35 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-08-16 16:39:46 +0000
commit48a49c740e0a8c615433081463bd359a219a8c14 (patch)
tree1ff92e78b3cad07ce9c012dae427e817ca9d0c8e /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentcbaaaff2a1fed59a7bbb6d41a3b62d305a09feba (diff)
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 d2aa4e1913c05d8c21e81eef3ad941565aded7d6)
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions