diff options
author | Lucas Dupin <dupin@google.com> | 2018-05-22 18:08:35 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2018-05-22 19:13:51 -0700 |
commit | 3978e6e6ee0852aad0dc62d6abee27568ac9c0d2 (patch) | |
tree | ba40b340f95ccf9a6c2db61d63bb1dc17ad9506f /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b4ef94d1a9316eccb31f1993bae8af0019cdd345 (diff) |
Only animate when the slice is actually animating
It's not correct to always animate if there is a layout transition.
The transition might not be triggered when the view is invisible
for example. It's necessary to check if we have pending/running
animations.
Change-Id: I75dbc9f8a152a162a3c77c9b316f653e665b8842
Fixes: 79773596
Test: manual
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions