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

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

am: Move OomAdjuster.initSettings() logic to ActivityManagerService

This CL moves OomAdjuster's initialization logic into
ActivityManagerService.setupServicePrewarmingOnUserSwitch(). This
includes transferring the ACTION_USER_SWITCHED receiver registration.

Bug: 441408003
Test: m services.core
Test: atest MockingOomAdjusterTests OomAdjusterTests
Test: atest FrameworksServicesTestsRavenwood_ProcessStateController
Flag: EXEMPT PURE_REFACTOR

Change-Id: I1d642980d8cbed145ab1b1b23eff1f466f65c84d
parent 3d7ad161
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