summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2018-01-03 15:54:43 +0100
committerJorim Jaggi <jjaggi@google.com>2018-01-03 23:49:44 +0100
commita384403e1297bd61c76907631c31bf29d33fd6da (patch)
tree8011f0ad5af39ad6bc7a45f5abdb428f3cf91ca4 /tools/aapt2/java/JavaClassGenerator.cpp
parentc80114c855c0f8055940ffb6b4a7b867d5742a40 (diff)
Fix issue with 0 duration animations
If the animation length was 0, it was possible that the finish runnable is run before applying the pending transaction to reparent the surface onto the leash. In that case, the reparent to the leash will be executed after, taking precedence. Then, the leash gets destroyed, and we loose the surface, leading to all kinds of crashes. Test: Disable animation duration scale, open a couple of apps, observe no crash. Test: go/wm-smoke Change-Id: I04db7b7c1c3295779b8afead97d7850f808f9081 Fixes: 71499373
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions