Skip to content
Commit b7620ab4 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

Use async callback for unfold overlay synchronization

Replaces synchronous applying of unfold black overlay
transactions with async versions of apply method.
To wait for applying of the second transaction it uses
the new addTransactionCommittedListener API in
SurfaceControl.Transaction.

This also fixes a problem that sometimes the overlay
is not shown when unfolding.

Bug: 227595670
Test: unfold multiple times and check that
 the scrim is visible
Change-Id: Iaa6a8246e592f0bd0d67df755c73be2b3912d157
parent 941937ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment