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

Skip to content
Commit 4c916509 authored by Lee Shombert's avatar Lee Shombert
Browse files

DisplayManagerService listens for frozen binder updates

DisplayManagerService listens for frozen process updates via the
IBinder FrozenStateChangeCallback.  This avoids going through
ActivityManager and the associated locks.

The CallbackRecord implements the necessary listener.  Updates affect
the CallbackRecord state; if the state change requires any further
processing, a message is posted to the DisplayManager's message queue,
to avoid extra processing in the binder callback.

Flag: android.os.binder_frozen_state_change_callback
Flag: com.android.server.am.defer_display_events_when_frozen
Bug: 298055811
Test: atest
 * DisplayServiceTests
 * CtsDisplayTestCases
Change-Id: Ib816415422d75dcec218c3f0ae3699f34e5bf079
parent b6fdf4b4
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