From 8919180b1cc9083d7873b6f85e7429a028a10c63 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 20 Oct 2021 11:09:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/help/http/cronet/CronetHelper.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/http/cronet/CronetHelper.kt b/app/src/main/java/io/legado/app/help/http/cronet/CronetHelper.kt index db20db225..693111bf7 100644 --- a/app/src/main/java/io/legado/app/help/http/cronet/CronetHelper.kt +++ b/app/src/main/java/io/legado/app/help/http/cronet/CronetHelper.kt @@ -38,8 +38,6 @@ val cronetEngine: ExperimentalCronetEngine? by lazy { try { val engine = builder.build() Timber.d("Cronet Version:" + engine.versionString) - //这会导致Jsoup的网络请求出现问题,暂时不接管系统URL - //URL.setURLStreamHandlerFactory(CronetURLStreamHandlerFactory(engine)) return@lazy engine } catch (e: Exception) { Timber.e(e, "初始化cronetEngine出错")