diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt index 0ecc0dc29..132123324 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt @@ -457,6 +457,7 @@ class ChatController(args: Bundle) : currentConversation?.type == Conversation.ConversationType .ROOM_TYPE_ONE_TO_ONE_CALL + @Suppress("Detekt.TooGenericExceptionCaught") override fun onViewBound(view: View) { Log.d(TAG, "onViewBound: " + System.identityHashCode(this).toString()) actionBar?.show() diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ProfileController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ProfileController.kt index 58374b7e2..8a753bb28 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ProfileController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ProfileController.kt @@ -336,6 +336,7 @@ class ProfileController : NewBaseController(R.layout.controller_profile) { } } + @Suppress("Detekt.TooGenericExceptionCaught") private fun setErrorMessageForMultiList(headline: String, message: String, @DrawableRes errorResource: Int) { if (activity == null) { return diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ServerSelectionController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ServerSelectionController.kt index 39179b357..8194e2b4c 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ServerSelectionController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ServerSelectionController.kt @@ -191,6 +191,7 @@ class ServerSelectionController : } @SuppressLint("LongLogTag") + @Suppress("Detekt.TooGenericExceptionCaught") private fun checkServerAndProceed() { dispose() try { diff --git a/app/src/main/java/com/nextcloud/talk/controllers/WebViewLoginController.kt b/app/src/main/java/com/nextcloud/talk/controllers/WebViewLoginController.kt index dc2b06c77..b4255ac94 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/WebViewLoginController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/WebViewLoginController.kt @@ -182,6 +182,7 @@ class WebViewLoginController(args: Bundle? = null) : NewBaseController( return false } + @Suppress("Detekt.TooGenericExceptionCaught") override fun onPageFinished(view: WebView, url: String) { try { loginStep++ diff --git a/detekt.yml b/detekt.yml index d1b2a89e7..46cb12370 100644 --- a/detekt.yml +++ b/detekt.yml @@ -1,5 +1,5 @@ build: - maxIssues: 95 + maxIssues: 91 weights: # complexity: 2 # LongParameterList: 1