pull/1391/head
gedoor 3 years ago
parent cc4dc1c99c
commit 8919180b1c
  1. 2
      app/src/main/java/io/legado/app/help/http/cronet/CronetHelper.kt

@ -38,8 +38,6 @@ val cronetEngine: ExperimentalCronetEngine? by lazy {
try { try {
val engine = builder.build() val engine = builder.build()
Timber.d("Cronet Version:" + engine.versionString) Timber.d("Cronet Version:" + engine.versionString)
//这会导致Jsoup的网络请求出现问题,暂时不接管系统URL
//URL.setURLStreamHandlerFactory(CronetURLStreamHandlerFactory(engine))
return@lazy engine return@lazy engine
} catch (e: Exception) { } catch (e: Exception) {
Timber.e(e, "初始化cronetEngine出错") Timber.e(e, "初始化cronetEngine出错")

Loading…
Cancel
Save