summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Will Leshner <wleshner@google.com> 2022-12-13 15:55:10 -0800
committer Will Leshner <wleshner@google.com> 2022-12-15 10:03:04 -0800
commitd81ff7be8c2a2ba83b3b9bc7ff487a8a4b194ef8 (patch)
tree050a1779c7bbef1169a28833cbfb7a70057f1e74 /cmds/bootanimation/BootAnimation.cpp
parentef1f84f5f19f37f697ba3ffa909f1ec364d5c1c7 (diff)
Fix a flicker when short pressing power button.
There is no need to explicitly lock the device on short power button press if not going to a dream. The default behavior already locks the device. This fixes a very short flicker when turning off the screen with the power button. Also fixes a bug where double-tapping locks the device before showing the camera. Bug: 262205573, 262484867 Test: manually by undocking device, tapping the power button, and seeing there is no flicker before the screen turns off. Also, make sure the device is locked after the screen turns off. Change-Id: Iec72119495fb4fd47176094d9a0c33fc312600bd
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions