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

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

am: Decouple ConnectionRecord with OomAdjuster

This change makes `ConnectionRecordInternal` implements the interface
`OomAdjusterImpl.Connection`.

Now the method `OomAdjuster.computeServiceHostOomAdjLSP` no longer uses
ConnectionRecord and switches to use `ConnectionRecordInternal`.

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

Change-Id: I9f724edd874436c8d6ca1b29fdff098c493a6da1
parent 49351e1b
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