From 986f74ee533b937cea2d6bb8a6943318b4273298 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 25 Apr 2022 08:12:43 +0200 Subject: [PATCH] Reduced logging --- app/src/main/java/eu/faircode/email/Helper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index 9f061c2577..1f59c107d5 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -2247,7 +2247,7 @@ public class Helper { @Override public void onAuthenticationError(final int errorCode, @NonNull final CharSequence errString) { - if (isCancelled(errorCode)) + if (isCancelled(errorCode) || errorCode == BiometricPrompt.ERROR_UNABLE_TO_PROCESS) Log.w("Authenticate biometric error " + errorCode + ": " + errString); else Log.e("Authenticate biometric error " + errorCode + ": " + errString);