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

Skip to content
Commit 59f3f15c authored by Lee Shombert's avatar Lee Shombert
Browse files

Freeze processes that ANR

Processes are frozen if their ANR timer expires.  The process is
unfrozen if the ANR is discarded.  Otherwise, the process is unfrozen
when the ANR handler (in AnrHelper) starts.

The freeze/thaw logic is outside of the control and knowledge of the
cached app freezer.

Test : atest
 * FrameworksServicesTests:com.android.server.am
 * FrameworksMockingServicesTests:com.android.server.am
 * FrameworksServicesTests:AnrTimerTest

Flag: com.android.server.utils.anr_timer_freezer
Bug: 325594551

Change-Id: I129ce97b6cd7b242272fbc834afc584188866ef0
parent f93e6095
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