diff options
| author | 2022-12-13 13:13:59 -0800 | |
|---|---|---|
| committer | 2023-02-21 08:44:25 -0800 | |
| commit | e22197994a034dbceae96fbd2bfe21addaad7d99 (patch) | |
| tree | 90145ee530772a41fc33b18ec792787fc5a6936c /libs/androidfw/StringPool.cpp | |
| parent | 37ea5f6833cce219c3189a19594f7788a6be4a50 (diff) | |
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 bb195e7af6b6d4c69def28cfd5c9225ff08a819d.
Bug: 261065790
Test: atest MockingOomAdjusterTests
Change-Id: I0494059976275cab309a5353bfef608da796bd2f
Merged-in: I0494059976275cab309a5353bfef608da796bd2f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions