cros: Fix lock screen not unlocking after bedtime
SaveScreenTimeProgressBeforeExit gets called after the lock screen was shown, which cancelled all running timers, including those that updated the lock screen state. If some other event fired, ie, timezone change, then the timers would get rescheduled. As a fix, don't cancel the timers which update lock screen state; only cancel in-session timers for the notification and recording actively used screen time. Bug: 872689 Change-Id: Ibbead3c2e455866fc09ced036c5c78a81e05357b Reviewed-on: https://chromium-review.googlesource.com/1171811Reviewed-by:Xiaoyin Hu <xiaoyinh@chromium.org> Reviewed-by:
Rahul Chaturvedi <rkc@chromium.org> Commit-Queue: Jacob Dufault <jdufault@chromium.org> Cr-Commit-Position: refs/heads/master@{#582627}
Showing
Please register or sign in to comment