浏览代码

Suppress too generic exception caught

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 年之前
父节点
当前提交
20e4fa5129
共有 1 个文件被更改,包括 2 次插入1 次删除
  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()