Parcourir la source

Suppress "TooGenericExceptionCaught"

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger il y a 1 an
Parent
commit
9f43823bba
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/src/main/java/com/owncloud/android/utils/WebViewUtil.kt

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

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