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

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

am: Centralize process unfreeze logic in AMS

The `unfreezeTemporarily` method is now exposed directly by
`ActivityManagerService`. This refactors internal callers in
`BroadcastQueue` and `ContentProviderHelper` to use the new
API, providing a more consistent and centralized entry point
for managing temporary unfreezing of processes.

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

Change-Id: I3da095b13e0848f99beb5de040c52592dd330a4b
parent b0bfc6aa
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