summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Marissa Wall <marissaw@google.com> 2019-06-12 13:25:07 -0700
committer Marissa Wall <marissaw@google.com> 2019-06-12 13:25:07 -0700
commitf384e05f26d78f95b28f30d4f83e72dad16dba10 (patch)
tree11f0cb72df6faf8b824894813712f6be27b55948 /libs/gui/BufferQueueThreadState.cpp
parentccf624a3045223c295a4db5a6f36a5d89ced4dbc (diff)
TransactionCallbacks: don't send callbacks until applied
If a transaction is in the middle of applying, the callback thread doesn't have all of the transaction's surface controls. If SF's main thread is in post composition, it can trigger send callbacks which sends the partially completed callback. This is not a long term solution. However the long term solution would touch much more code too late in the Q release. The long term solution should tell the transaction completed thread when a transaction starts applying and when it is finished. Callbacks for that transaction wouldn't be sent until the transaction is done applying. Bug: 134194071 Test: Run the testsurfacecontrol.apk that is linked to in the bug Change-Id: I2d5a6a5cc06f17b6b1b69900d28abc0563d4767b
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions