Update authentication when encrypted or lockout
Fingerprint authentication should not expose accept/reject/lockout when the user is encrypted or locked out. This is possible with IBiometricsFingerprint@2.1 since lockout is controlled by the framework. IBiometricsFace@1.0 does not support this since lockout is controlled in the HAL (or lower). Adds enough plumbing on SysUI so that it will work once the HAL supports it. Introduces FingerprintDetectClient, which treats HAL accept/reject as the same, and does not increase the framework's lockout counter. Introduces FingerprintManager/FaceManager#getSensorProperties so callers can determine features before invoking certain code paths, such as finger/face detect. Bug: 79776455 Test: On fingerprint device, during encrypted or lockdown, any finger works, lockout never occurs Test: Test no effect on face device Test: atest KeyguardUpdateMonitorTest Change-Id: I6c9717d1f8ed3e844b3d92727396e2ce2e7fd94f
Loading
Please register or sign in to comment