mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
7b8b3a1753
commit
59ffcf0b28
@ -42,6 +42,7 @@ val cronetEngine: ExperimentalCronetEngine? by lazy {
|
||||
//URL.setURLStreamHandlerFactory(CronetURLStreamHandlerFactory(engine))
|
||||
return@lazy engine
|
||||
} catch (e: Exception) {
|
||||
Timber.e(e, "初始化cronetEngine出错")
|
||||
return@lazy null
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user