Surface: Add a death notification to SurfaceListener
As we move away from IGBPs being available generally, clients may still want to know if the other end of the Surface dies on them. With no binder object available to them, if the client requests it, we wrap the callback in a proxy and notify via SurfaceListener::onRemoteDied when they request it via SurfaceListener::needsDeathNotify. See go/warren-buffers for more details. BYPASS_IGBP_IGBC_API_REASON=warren buffers Bug: 340933794 Flag: com.android.graphics.libgui.flags.wb_platform_api_improvements Test: new tests in libgui_test Change-Id: I102c21436ba3d852481bfa636c5de102ef244e4a
Loading
Please register or sign in to comment