Skip to content
Commit 14b8ea99 authored by chaviw's avatar chaviw
Browse files

Perform traversal after finish drawing for Blast Sync

Normally, a perform traversal wouldn't get called if
WSA.finishDrawingLocked doesn't return true. It only returns true if
the previous drawState was DRAW_PENDING which may not be the case if
it's not the first draw.

With blast sync, we will get a finish draw but not necessary the first
draw. That means we may never trigger the perform traversal. We always
wait for a perform traversal before notifying blast sync that we're done
in case there's more data to gather into the transaction.

In this change, always trigger perform traversal if finishDrawing was
called because of blast sync.

Test: Hard to trigger, but existing sync works
Change-Id: Id95c0c84418cecd0e73befafe524102f9e3faad2
parent a28729b6
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