mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
cc4dc1c99c
commit
8919180b1c
@ -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出错")
|
||||
|
Loading…
Reference in New Issue
Block a user