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
Loading
Please register or sign in to comment