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

Commit 6127b8af authored by Hugo Benichi's avatar Hugo Benichi
Browse files

am: hide details of OomAdjObserver from OomAdjuster

This patch moves reportOomAdjMessageLocked() from OomAdjuster to
ActivityManagerService to hide certain AMS variables from OomAdjuster.

A future patch will abstract further this method by exposing it to
OomAdjuster through an interface or dependency class agnostics of AMS.

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

Change-Id: Iabf6039868c437b7bf189934297c87eaf3f1626b
parent 88fa9ced
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