Remove confirmation prompt for passive biometric unlock (e.g. iris/face)
This commit is contained in:
parent
abcb21491c
commit
fd5d52a709
@ -40,6 +40,7 @@ class BiometricUnlockActivity : AppCompatActivity() {
|
||||
val promptInfo = BiometricPrompt.PromptInfo.Builder()
|
||||
.setTitle(getString(R.string.unlock_app))
|
||||
.setDeviceCredentialAllowed(true)
|
||||
.setConfirmationRequired(false)
|
||||
.build()
|
||||
|
||||
biometricPrompt.authenticate(promptInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user