commit | 3978e6e6ee0852aad0dc62d6abee27568ac9c0d2 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Tue May 22 18:08:35 2018 -0700 |
committer | Lucas Dupin <dupin@google.com> | Tue May 22 19:13:51 2018 -0700 |
tree | ba40b340f95ccf9a6c2db61d63bb1dc17ad9506f | |
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