Persist face error message for permanent lockout
Fixes the existing Keyguard and FaceService logic to correctly check for
and show a persistent error message when face authentication is in
permanent lockout mode due to too many failed attempts.
Test: atest com.android.keyguard
Test: On Pixel 4/4XL, fail face auth 6+ times on lock screen
Before: Error message shown after 5th attempt, but not future attempts
After: Error message shown after 5th and all subsequent attempts
Fixes: 140134198
Change-Id: I9d43f156c056c10f7176146c4709a734653689ac
3 files changed