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

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

psc: Introduce ActiveUidsInternal interface

Introduce `ActiveUidsInternal` interface to provide an abstraction for
managing active UID states. `ActiveUids` now implements this interface,
exposing its core methods publicly.

Update `OomAdjuster` and `OomAdjusterImpl` to utilize the new interface
type for UID state references, enabling more flexible and testable
implementations.

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

Change-Id: I40db690023e731d745dffa144fe853c5dd86f0a8
parent ff28f580
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