diff options
| author | 2020-11-11 16:31:07 -0800 | |
|---|---|---|
| committer | 2020-11-13 14:39:03 -0800 | |
| commit | bf80ecae169035861c6aefee6502d00d100e5426 (patch) | |
| tree | 2d31573317bcf88e96338b4fe52e38ac91b6266c /libs/androidfw/ZipUtils.cpp | |
| parent | 38c45bdfc2615aba1d57ac40adef02216d2aeb92 (diff) | |
Start UDFPS sensors only after BiometricPrompt UI is showing
Since UDFPS sensors have a UI affordance, and the affordance is
controlled by FingerprintAuthenticationClient, start the prepared
sensor only after the BiometricPrompt dialog is done animating.
Plumbing-wise, adds:
1) Adds AuthSession.STATE_AUTH_STARTED_UI_SHOWING
2) Adds IBiometricSysuiReceiver#onDialogAnimatedIn
Since not all sensors are started immediately anymore, adds
logic in BiometricScheduler when attempting to cancel auth
for a sensor that's waiting for cookie (HAL still idle).
Fixes: 171931476
Test: atest com.android.server.biometrics
Test: atest com.android.systemui.biometrics
Change-Id: Iaedc26c51e274614ac2af6ebd98afe26263dad81
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
0 files changed, 0 insertions, 0 deletions