diff options
author | Robert Snoeberger <snoeberger@google.com> | 2018-11-08 15:53:27 -0500 |
---|---|---|
committer | Robert Snoeberger <snoeberger@google.com> | 2018-11-09 14:21:11 +0000 |
commit | ffbe315d43da0506437be06ed20038bb84b006b6 (patch) | |
tree | 959e57bc20e67f3ebe9213180ddbaf63def9f367 /packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java | |
parent | f517f971614315a68af3a5b6842787f9950d3d52 (diff) |
Add dozeTimeTick method to ClockPlugin interface.
dozeTimeTick implementations provided by clock plugins
should update the time of the clock while the device
is dozing and deal with burn-in related issues.
Bug: 119035943
Test: KeyguardClockSwitchTest passes locally.
Test: Custom clock updates with time on AOD screen.
Change-Id: I5c31e6d856c5a80dc3e501831dda5a62c0be5ba0
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java index a403b751b548..f701e229295e 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java @@ -47,7 +47,6 @@ import com.android.internal.widget.ViewClippingUtil; import com.android.systemui.Dependency; import com.android.systemui.Interpolators; import com.android.systemui.statusbar.policy.ConfigurationController; -import com.android.systemui.util.wakelock.KeepAwakeAnimationListener; import com.google.android.collect.Sets; @@ -276,6 +275,7 @@ public class KeyguardStatusView extends GridLayout implements public void dozeTimeTick() { refreshTime(); mKeyguardSlice.refresh(); + mClockView.dozeTimeTick(); } private void refreshTime() { |