Fix possible race conditions when cancelling animations
Since the surface is being released by the SurfaceAnimator, it was possible that SurfaceAnimationRunner was still applying surface changes on a released surface. Solve this by introducing a cancel-lock on which all surface operations are synchronized on. Bug: 64674361 Test: SurfaceAnimationRunnerTest Change-Id: I06ee9e8270f492faa1cbfd84a09a68c9a1a09ade
Loading
Please register or sign in to comment