diff options
author | Beverly <beverlyt@google.com> | 2021-05-14 16:03:46 -0400 |
---|---|---|
committer | Beverly <beverlyt@google.com> | 2021-05-14 16:22:18 -0400 |
commit | f18b2894e4a4cd1f27ec1026bd13fc84c6a4b15c (patch) | |
tree | e742de09fbd0af05bd7f3a239242ca8ac43bd94c /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 66dc0f32ede6e8748564aa5b261cf3ed0d284eaa (diff) |
Consider the clock detached if the keyguard isn't visible
Update AnimatableClockController's definition of attached to include
whether the keyguard is visible or not. This way, we won't animate
if the view isn't actually visible & we'll reset the clock state when
the keyguard is newly visible.
Only create a new AnimatableClockController onInit instead of
in the onAttach method for KeyguardClockSwitchController.
Fixes: 188203771
Test: manual
Change-Id: Id02132dba8b5392046cb46766aa64fd58e04a4ad
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions