summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2022-07-07 15:55:39 -0700
committer Alejandro Nijamkin <nijamkin@google.com> 2022-07-07 17:13:05 -0700
commit613af5311b1bb69f7d23029922ecf0f9720ec10d (patch)
tree7ba53112d249fd12af4a1a56d7ce6bbf8a1ae811 /api/api.go
parent9b723322f13a369b2b3eccfe507059187b635904 (diff)
Fixes bug where the camera app would launch below the lock-screen
In ag/19119857, we accidentally removed the logic that would dismiss the non-secure "swipe" screen lock when the camera app would be launched by a double-tap on the power button. This CL fixes that. Test: manually verified the following: 1. With Screen Lock set to an insecure "Swipe", when the screen is locked, double-tapping the power button opens the camera app *on top of the lock-screen*. Hitting the back button when the camera app is in the foreground returns to the **unlocked** home screen 2. With Screen Lock set to a secure "Pattern", when the screen is locked, double-tapping the power button opens the camera app *on top of the lock-screen*. Hitting the back button when the camera app is in the foreground returns to the locked lock-screen 3. When unlocked and on the home screen, double-tapping the power button brings the camera app to the foreground. Hitting the back button returns to the home screen Bug: b/235403546, b/238277981 Change-Id: I39b7c8ce2b93d9e95c89ab5625870e6263f77b70
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions