mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-23 21:55:57 +03:00
Remove confirmation prompt for passive biometric unlock (e.g. iris/face)
This commit is contained in:
parent
abcb21491c
commit
fd5d52a709
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue