浏览代码

Remove confirmation prompt for passive biometric unlock (e.g. iris/face)

arkon 4 年之前
父节点
当前提交
fd5d52a709
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/src/main/java/eu/kanade/tachiyomi/ui/security/BiometricUnlockActivity.kt

+ 1 - 0
app/src/main/java/eu/kanade/tachiyomi/ui/security/BiometricUnlockActivity.kt

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