mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 09:11:59 +01:00
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()
|
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 New Issue
Block a user