summaryrefslogtreecommitdiff
path: root/packages/SettingsLib/src
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2025-01-28 17:43:01 -0800
committer Bryce Lee <brycelee@google.com> 2025-02-05 23:38:30 +0000
commite581b06f84c5f5179b4eecde063a9ff1ef2011c6 (patch)
treeddec010be46dc65efca14cfdac5d78a4d1cda3f1 /packages/SettingsLib/src
parent0496b1f539026c15a4f8c448e916cf328402af94 (diff)
Add new power button behavior that asks keyguard to show the hub
This behavior is an extension of the existing SHORT_PRESS_POWER_DREAM_OR_SLEEP behavior that attempts to trigger the glanceable hub (widgets on lock screen) if available first, before attempting to trigger the dream or just going to sleep. This is a SysUI feature that shows on top of keyguard so we ask keyguard to show it along with locking the device. Bug: 378170118 Test: atest KeyguardViewMediatorTestKt DreamManagerServiceTest PhoneWindowManagerTests also manually verified on device Flag: com.android.systemui.glanceable_hub_v2 Change-Id: I8ec299db21926abdb3d282199fb5e6ba102b2345
Diffstat (limited to 'packages/SettingsLib/src')
0 files changed, 0 insertions, 0 deletions