summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-09-06 18:50:00 +0200
committer Matías Hernández <matiashe@google.com> 2024-09-06 16:59:46 +0000
commit14d9edbde22faa9f1f99c48a6fbcc9f1d3738a2a (patch)
tree94d3ae548d3284b87a5b49348ad30371f248121f /cmds/bootanimation/BootAnimation.cpp
parent500078bc2f3b0b78f8ce698a4a1f2768be736baa (diff)
Apply "night mode" device effect immediately if the keyguard is showing
We were delaying non-user-triggered night mode changes, except those that happened with the screen off. This is too conservative and it's also fine to do so if the keyguard is showing. This is especially useful to allow the mode switch in the "bedtime mode ends on morning alarm" case, when the alarm ringing turns on the screen (and displays its activity on top of the lockscreen). Fixes: 365088439 Test: atest DefaultDeviceEffectsApplierTest NotificationManagerZenTest Flag: android.app.modes_ui Change-Id: Icf732594dcd00adad55128a345d056ec4489e88a
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions