summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Marissa Wall <marissaw@google.com> 2019-06-24 10:49:42 -0700
committer Marissa Wall <marissaw@google.com> 2019-06-24 12:17:29 -0700
commit88e20481b3b31c20b1857b44a541dc870a2fdb40 (patch)
tree4df67b823e0cc8eac652504c4b9db8e49418ee96 /libs/gui/SurfaceControl.cpp
parent7823b68260ea9d8ede45d0461dde4189ec5bcda3 (diff)
blast: ordering layer death and callbacks
There is an edge case where Transaction callbacks don't contain all the SurfaceControls that the Transaction had. This happens if: 1) A transaction is applied in the app process 2) A surface control is released/destroyed in the app process 3) The surface control is destroyed in surfaceflinger 4) The transaction is applied in surfaceflinger If the layer associated with the surface control is removed from surfaceflinger, the surface control won't be added to the callback. We need to add the surface control as unpresented to the callback once we realize the layer no longer exists. Bug: 135766997 Test: Transaction_test Change-Id: Ia7d7f15ead736c8a17343ceec84c8515a7000bbe
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions