Browse Source

Suppress too generic exception caught

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 year ago
parent
commit
20e4fa5129
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/src/main/java/com/owncloud/android/utils/WebViewUtil.kt

+ 2 - 1
app/src/main/java/com/owncloud/android/utils/WebViewUtil.kt

@@ -122,7 +122,8 @@ class WebViewUtil(private val context: Context) {
      *
      * @return
      */
-    @SuppressLint("PrivateApi", "DiscouragedPrivateApi", "TooGenericExceptionCaught")
+    @SuppressLint("PrivateApi", "DiscouragedPrivateApi")
+    @Suppress("TooGenericExceptionCaught")
     fun setProxyKKPlus(webView: WebView) {
         val proxyHost = OwnCloudClientManagerFactory.getProxyHost()
         val proxyPort = OwnCloudClientManagerFactory.getProxyPort()