Invoke draw if there are pending transactions in VRI
If there's a pending transaction in VRI but nothing new to draw, the
code will not register the draw callbacks and will not invoke the draw
call into HWUI. This will leave these transactions stuck since they will
not be applied when they were expected to.
Additionally, ensure all cases where an async draw didn't happen applies
the pending transaction or they'll remain stuck until the next async
draw.
Test: AttachedSurfaceControlTest
Fixes: 301289683
Change-Id: Icb1f2aec6dafae673a05c57ccd47f97ef17bf013
1 file changed