|
@@ -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)
|