From 25c054972bd5fe62da28b8fa8b0c939776ed3d92 Mon Sep 17 00:00:00 2001 From: TYM Tsai Date: Fri, 4 Jan 2019 16:59:07 +0800 Subject: [PATCH] Let the clock be updated in real time during the pulse The docking will request a long time pulse. Allows the clock to update time in real time. Bug: 120464108 Test: atest SystemUITests Change-Id: Iac251aa3e366020a61ba88ab374f0a5a0369177e --- packages/SystemUI/src/com/android/systemui/doze/DozeUi.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/doze/DozeUi.java b/packages/SystemUI/src/com/android/systemui/doze/DozeUi.java index 67aa82dc96886..76565649dd690 100644 --- a/packages/SystemUI/src/com/android/systemui/doze/DozeUi.java +++ b/packages/SystemUI/src/com/android/systemui/doze/DozeUi.java @@ -124,6 +124,7 @@ public class DozeUi implements DozeMachine.Part { unscheduleTimeTick(); break; case DOZE_REQUEST_PULSE: + scheduleTimeTick(); pulseWhileDozing(mMachine.getPulseReason()); break; case INITIALIZED: