diff options
| author | 2022-12-02 18:18:53 +0000 | |
|---|---|---|
| committer | 2022-12-07 15:09:23 +0000 | |
| commit | cb35e335dfd3b2dd49d88787e7ecd6c0828be77f (patch) | |
| tree | 146b195a753cbccf318ed26c7969e5b9ec9ecc18 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 13ea38e020e25dcc86b8c1154801a59789a4b0d8 (diff) | |
Start a new keyguard session on device sleep
One nuance of this is that a new keyguard session
will start if the user is on the lock screen and then
double presses the power button to launch camera due to the
following sequence of events:
[0ms] user is on the lock screen in KG session #1
[1ms] first power button press => device starts to
go to sleep, so new keyguard session begins KG session #2
[2ms] second power button press => camera is launched,
screen stays on instead of finishing going to sleep
Test: enable SessionTracker logs, see start and end
boundaries of Keyguard is update to include a new session
when the device goes to sleep
Test: atest SessionTrackerTest
Bug: 242628816
Change-Id: I40bdf7f746b7086bc9683f816e00913cd0fd49bf
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions