summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Will Leshner <wleshner@google.com> 2023-02-10 15:15:21 -0800
committer Will Leshner <wleshner@google.com> 2023-02-22 10:31:35 -0800
commit2edfe80c04566dcc8b483940fa884598c52389dc (patch)
treeb22d775b2c5429e8f3d78c0e234bf1d7b4e2d158 /cmds/bootanimation/BootAnimationUtil.cpp
parentf6fb227c2cda46cac27f4be97df0ccb8e43152ce (diff)
Respect "power button instantly locks" setting for dream behavior.
Don't instantly lock the device on single power button click if the "power button instantly locks" setting is off. This is only on devices that have single power button press configured to start dreaming. Bug: 263161209 Test: manually by turning "power button instantly locks" setting off, enabling screen saver, docking device, and tapping the power button to start dreaming. The device should not be locked. Then, set up again with the same conditions, turn on the "power button instantly locks" setting, then tap the power button to start dreaming. The device should be locked. Merged-In: I991504805c534eb76269579a2e753318fe0f1811 Change-Id: If1f611c2ebc189ff294ea6f5b411d22eafc8e2ae
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions