Loading
WindowStateAnimator: Abstract global transaction usage (1/n).
For the BLASTSyncEngine we will need all WSA GlobalTransaction usage to be redirected to the pending transaction instead. To prepare for this we first slimmed down WSA as much as possible to make the remaining job easier. As a next step we start refactoring code to use a passed in Transaction, but without chasing the global Transaction all the way to the top. To do this we expose the global transaction from SurfaceControl.java but with a special wrapper that makes sure we don't accidentally call apply directly. As we start cleaning up global transaction usage we can remove some variants in WindowSurfaceController. In this CL we get setMatrix and setPosition global variants removed. Bug: 161937501 Test: Existing tests pass Change-Id: Ibd8f710c8ca01e57f6f994f23dd7bf2dca3902fd