diff options
author | 2025-01-17 22:36:24 +0000 | |
---|---|---|
committer | 2025-01-17 23:43:58 +0000 | |
commit | 4d325552cb3b6816ca3ad3025676d53405b3501c (patch) | |
tree | a5cc6b30a5361e41f2fee9a5b7362f9ea93640d8 /libs/androidfw/AssetsProvider.cpp | |
parent | cdbd992d24c2005bda97ed11f14a56a2204de73d (diff) |
Trigger time update when screen state changes to SCREEN_ON
This is a broader version of I3a3329d9b9a29f5452572ec23812b3e4edd2a378.
While that change was targetted specifically to fix the time on AOD
clocks after the screen turns on, this change instead triggers all
regstered KeyguardUpdateMonitor.onTimeChanged callbacks. It has more
impact, and should include any component relying on TIME_TICK for up to
date AOD rendering. As a result, it includes smartspace by triggering
SmartspaceTimeChangedDelegate at the correct time. It also backs out
the code added by the previous change so as not to do redundant work.
Bug: 390191659
Test: Manually checked
Flag: None Low risk bugfix
Change-Id: Ie2e4311c7ab40b830f497c5e0eb251861223efe4
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions