commit | 25de1d2d16f272ce42a2abaf8703284a6daea4be | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Thu Jun 20 09:28:48 2024 +0000 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu Jun 20 09:28:48 2024 +0000 |
tree | ecbca0aba092602aed54d9c1026db66409838c28 | |
parent | 733b315abc81973d39a7db0c629bf661a0f1a482 [diff] |
Move abstraction of activity priority calculation This converts ComputeOomAdjCallback interface to exported flags. So it is easier to separate the dependency, add new conditions, and handle state consistently in the future. Bug: 302575389 Bug: 200769420 Flag: EXEMPT refactor Test: WindowProcessControllerTests#testComputeOomAdjFromActivities MockingOomAdjusterTests Change-Id: I1f43ec2c6701ef1240ce483f8a2d14972bc2a01c