Skip to content
Commit 89cc30e9 authored by chaviw's avatar chaviw
Browse files

Added getSyncTransaction

Create a getSyncTransaction that will return the blastSyncTransaction if
in a sync or the regular pendingTransaction if not. This is to separate
situations where we want to directly call getPendingTransactions so the
transaction is not synced with the client request.

One example is WM or remote animations starting. We don't want the
animation setup to be synced. If it syncs with the client request, the
initial animation setup will be delayed, but the animation will still
start running since it thinks everything has been set up properly. In
those cases, continue to use getPendingTransaction instead of
getSyncTransaction

Test: Animations run during applySyncTransaction
Bug: 153579514
Change-Id: Ied21f3d2addb19e7bb814379567de076d429007f
parent 4911db03
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