Ensure surfaces are reparented before destroying parent.
In destroyPreservedSurfaceLocked we open and close the global transaction
with the intention of ensuring that the reparent contained within is
completed before we send the destroy request below. This doesn't work as
the global transaction could be held open by another thread, e.g. we
may already be in the transaction.
Bug: 70530552
Bug: 71499373
Bug: 72894049
Test: Existing tests pass
Change-Id: Ie91da3c78eaf8fb52a21ae49ed190b42d92d0083
1 file changed