Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f384e05f authored by Marissa Wall's avatar Marissa Wall
Browse files

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
parent ccf624a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment