mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Implicit confirmation for biometric #390
This commit is contained in:
@@ -59,6 +59,7 @@ class BiometricUnlockDatabaseHelper(private val context: FragmentActivity) {
|
||||
private val promptInfoStoreCredential = BiometricPrompt.PromptInfo.Builder().apply {
|
||||
setTitle(context.getString(R.string.biometric_prompt_store_credential_title))
|
||||
setDescription(context.getString(R.string.biometric_prompt_store_credential_message))
|
||||
setConfirmationRequired(true)
|
||||
// TODO device credential
|
||||
/*
|
||||
if (keyguardManager?.isDeviceSecure == true)
|
||||
@@ -71,6 +72,7 @@ class BiometricUnlockDatabaseHelper(private val context: FragmentActivity) {
|
||||
private val promptInfoExtractCredential = BiometricPrompt.PromptInfo.Builder().apply {
|
||||
setTitle(context.getString(R.string.biometric_prompt_extract_credential_title))
|
||||
setDescription(context.getString(R.string.biometric_prompt_extract_credential_message))
|
||||
setConfirmationRequired(false)
|
||||
// TODO device credential
|
||||
/*
|
||||
if (keyguardManager?.isDeviceSecure == true)
|
||||
|
||||
Reference in New Issue
Block a user