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

Commit c854507c authored by Chih-Yu Huang's avatar Chih-Yu Huang
Browse files

am: Make setAttachingProcessStatesLSP use internal class

This change migrates the `OomAdjuster.setAttachingProcessStatesLSP()` to
operate directly on `ProcessRecordInternal`. To achieve that, it adds
`getPid`, `useFifoUiScheduling`, and `NotifyTopProcChanged` to abstract
methods in `ProcessRecordInternal`.

Bug: 425766486
Test: m services.core
Test: atest MockingOomAdjusterTests OomAdjusterTests
Test: atest FrameworksServicesTestsRavenwood_ProcessStateController
Flag: EXEMPT pure refactor

Change-Id: I6835aaaa4a10d40e1dd134aac5bdca9ee3f04d3a
parent 3fd24c96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment