diff options
| author | 2024-12-18 13:31:40 -0800 | |
|---|---|---|
| committer | 2024-12-18 13:34:12 -0800 | |
| commit | 4c9165091c1ab6027822538e17c6404f6ce2cde4 (patch) | |
| tree | d7133901b5efe81b6a48a84a3728ee9dab88ce50 /libs/androidfw/StringPool.cpp | |
| parent | b6fdf4b467105ab68c4bb2afe6e0fbf7f3b3ddd7 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions