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

Skip to content
Commit ea036c84 authored by Jing Ji's avatar Jing Ji
Browse files

Don't reset OOM adjType to cch-empty during recomputing on cycles

The first pass should have an equivalent or better value for it.
During oom recomputing on cycles, if the result of recomputation
is no better than the given 'cachedAdj', its adjType won't be updated,
therefore we'd need to keep its current value as is.

Bug: 156123244
Test: atest MockingOomAdjusterTests
Test: atest FrameworksServicesTests:ActivityManagerServiceTest
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest
Test: Manual - adb shell dumpsys activity oom
Change-Id: Ic4adf76656575926d16c0a037d955795061116e3
parent 851415b6
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