Only send surfaces to Listener that registered or applied transaction
We must not leak surface controls to processes that shouldn't know about them. With this change, we limit the listeners that receive a callback for a surface control to those that 1) registered the surface control for callback or 2) received and merged a transaction containing that surface control to apply Bug: 139439952 Test: build, boot, IPC_test, SurfaceFlinger_test, libsurfaceflinger_unittest Change-Id: I4eccc3e72d60729c2f3aa7788db0c5c39fbf46b7
Loading
Please register or sign in to comment