mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05: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()
|
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)
|
||||||
|
|
Loading…
Reference in a new issue