SurfaceView: Ensure we don't fill unused BLAST Transaction.
If BLAST is enabled and we somehow end up in positionLost or setParentSpaceRectangle without having called setUseBLASTSyncTransaction we will end up putting operations in to a Transaction which will never be applied. This condition should be considered a bug, but it's best to defend against it. To compensate, rather than checking the global use BLAST flag, we check if the current draw is actually using BLAST. Bug: 152663327 Bug: 152780239 Test: Existing tests pass Change-Id: I3c05b83400b59be82a339933fc8ef1382d4f0e21
Loading
Please register or sign in to comment