diff options
author | Alex Mang <alexmang@google.com> | 2021-05-17 11:22:20 -0700 |
---|---|---|
committer | Alex Mang <alexmang@google.com> | 2021-05-17 11:22:20 -0700 |
commit | 78c33943f02c65b01ae7fbe5c870b5f4e34c890e (patch) | |
tree | fbd0af5b0507837703769d7abdcba0899f324d22 /packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java | |
parent | d40d1b76af4329a1de3530fc9c2e6b4247c4a40c (diff) |
Update smartspace when clock updates.
This is needed so that calendar and other time based updates are still received when in doze mode.
Bug: 187186900
Test: KeyguardClockSwitchControllerTest, manually on device
Change-Id: I2667b722fbde219063c719296de35946f536473b
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java index 4245fbc2c3cd..6c4ce143b97d 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java @@ -259,6 +259,9 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS mClockViewController.refreshTime(); mLargeClockViewController.refreshTime(); } + if (mSmartspaceController != null) { + mSmartspaceController.requestSmartspaceUpdate(); + } mView.refresh(); } |