Remove confirmation prompt for passive biometric unlock (e.g. iris/face)

This commit is contained in:
arkon 2020-05-01 21:08:52 -04:00
parent abcb21491c
commit fd5d52a709

View File

@ -40,6 +40,7 @@ class BiometricUnlockActivity : AppCompatActivity() {
val promptInfo = BiometricPrompt.PromptInfo.Builder() val promptInfo = BiometricPrompt.PromptInfo.Builder()
.setTitle(getString(R.string.unlock_app)) .setTitle(getString(R.string.unlock_app))
.setDeviceCredentialAllowed(true) .setDeviceCredentialAllowed(true)
.setConfirmationRequired(false)
.build() .build()
biometricPrompt.authenticate(promptInfo) biometricPrompt.authenticate(promptInfo)