summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-12-12 02:17:10 +0100
committerWinson Chung <winsonc@google.com>2017-12-13 18:44:09 -0800
commit6c7e56191e7478fb13532dd5133259d449935c7b (patch)
treeec2d8c5b740e2cbec0389b8a678467d4083df293 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta5e105728fb87264b9dc2e66b3703168f8864110 (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions