OSDN Git Service

Block face auth when lock icon is pressed
authorLucas Dupin <dupin@google.com>
Tue, 14 May 2019 23:11:08 +0000 (16:11 -0700)
committerLucas Dupin <dupin@google.com>
Tue, 14 May 2019 23:27:50 +0000 (16:27 -0700)
commitca88e5fb187390f413dd8f581e171597dac84746
treebeb1b891ed035b1f63f45ff0b7f7a9b77badf1df
parent8575ede8fc2e3eb2d2e288a073e55d460c0961f3
Block face auth when lock icon is pressed

It's necessary to lock the current user, until the next screen power
cycle, to avoid unlocking the device accidentally.

Fixes: 132129109
Test: atest KeyguardIndicationControllerTest
Test: Unlock with biometrics, long press lock icon, swipe up
Test: Unlock with biometrics, swipe up
Change-Id: I23258a79531c21d0e63bd0a91db59d8950526197
packages/SystemUI/src/com/android/keyguard/KeyguardUpdateMonitor.java
packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/KeyguardIndicationControllerTest.java