diff options
| author | 2017-12-12 02:17:10 +0100 | |
|---|---|---|
| committer | 2017-12-13 18:44:09 -0800 | |
| commit | 6c7e56191e7478fb13532dd5133259d449935c7b (patch) | |
| tree | ec2d8c5b740e2cbec0389b8a678467d4083df293 /libs/hwui/ProgramCache.h | |
| parent | a5e105728fb87264b9dc2e66b3703168f8864110 (diff) | |
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
Diffstat (limited to 'libs/hwui/ProgramCache.h')
0 files changed, 0 insertions, 0 deletions