From d0f049a50b6c12169bb2402387f523b40c7633f7 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Wed, 1 Nov 2023 18:04:06 +0100 Subject: [PATCH] ignore throwning of generic exception Signed-off-by: Andy Scherzinger --- .../owncloud/android/ui/dialog/SetupEncryptionDialogFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/SetupEncryptionDialogFragment.kt b/app/src/main/java/com/owncloud/android/ui/dialog/SetupEncryptionDialogFragment.kt index 0dcf0699a495..c78f4ed7716e 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/SetupEncryptionDialogFragment.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/SetupEncryptionDialogFragment.kt @@ -380,7 +380,7 @@ class SetupEncryptionDialogFragment : DialogFragment(), Injectable { binding.encryptionStatus.setText(R.string.end_to_end_encryption_generating_keys) } - @Suppress("TooGenericExceptionCaught", "ReturnCount") + @Suppress("TooGenericExceptionCaught", "TooGenericExceptionThrown", "ReturnCount") @Deprecated("Deprecated in Java") override fun doInBackground(vararg voids: Void?): String { // - create CSR, push to server, store returned public key in database