summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Valerie Hau <vhau@google.com> 2019-08-20 09:29:25 -0700
committer Valerie Hau <vhau@google.com> 2019-09-19 19:19:34 +0000
commit9dab9730c009b8f45b671c48c7c3fa0915298803 (patch)
tree5ebd9dffdd1e0c5d908df674b327ad3fe9329fa8 /libs/gui/QueueBufferInputOutput.cpp
parentdd3d02688d5656c565b453917fde4a13e3f368ea (diff)
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
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions