Fix the behavior of keyguard bouncer in a corner case
With Android Automotive, there's a cancel button on the bouncer
that allows return to UserSwitcher. Due to specific implementation of
CarStatusBarKeyguardViewManager, all KeyguardViews will be destroyed.
With below steps, user can input PIN the 6th time. But it won't unlock
the device even if it's the correct PIN.
Test: 1. Set screen lock with pin, password or pattern
Test: in Settings ->Security & location
Test: 2. Lock the device with Power key
Test: 3. Input wrong pin/password for 5 times, 30s timeout is prompted
Test: 4. Quickly click cancel button and select the same user
Test: 5. User can input PIN/password again
bug: 119068682
Change-Id: Ia182902d38de93ad13cb39c333a1294764905e1f
Signed-off-by: Wang, ArvinX <arvinx.wang@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
1 file changed