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

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

am: Move CachedAppOptimizer to ActivityManagerService

This CL moves the field of `CachedAppOptimizer` from `OomAdjuster` to
`ActivityManagerService`, and exposes it via `getCachedAppOptimizer()`
for direct access.

Bug: 441178013
Test: m services.core
Test: atest MockingOomAdjusterTests OomAdjusterTests
Test: atest FrameworksServicesTestsRavenwood_ProcessStateController
Test: atest BroadcastQueueTest ServiceBindingOomAdjPolicyTest
Test: atest ServiceTimeoutTest
Flag: EXEMPT PURE_REFACTOR

Change-Id: Ic890a0ff8126f305e961e6a1564a984cc9482c52
parent d804bbc2
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