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

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

am: Make unfreezeTemporarily() use ProcessRecordInternal

This change refactors the app freezer state management by moving
attributes such as `isFrozen()`, `isFreezeExempt()`, and
`shouldNotFreeze()` from `ProcessCachedOptimizerRecord` directly
into `ProcessRecordInternal`.

Additionally, the `processName` field is elevated from `ProcessRecord`
to `ProcessRecordInternal`.

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

Change-Id: Id9da2f66ff4a991112376ef926e3b53b0f8acf03
parent 17c9d8b9
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