Reland OomAdjuster: demote previous process to cached after configurable timeout
Previous processes shouldn't stay out of cached indefinitely; they should be eventually moved to cached and allowed to be restricted and frozen. Add a configurable timeout to decide when the previous app should move to cached. The default timeout is 60s. Reverts change bb195e7a. Bug: 261065790 Test: atest MockingOomAdjusterTests Change-Id: I0494059976275cab309a5353bfef608da796bd2f Merged-in: I0494059976275cab309a5353bfef608da796bd2f
Loading
Please register or sign in to comment