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

Skip to content
Commit 25de1d2d authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 733b315a
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