mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -57,7 +57,6 @@ class App : Application() {
|
||||
CrashHandler(this)
|
||||
LogUtils.init(this)
|
||||
LogUtils.d("App", "onCreate")
|
||||
LogUtils.logDeviceInfo()
|
||||
if (isDebuggable) {
|
||||
ThreadUtils.setThreadAssertsDisabledForTesting(true)
|
||||
}
|
||||
@@ -76,6 +75,7 @@ class App : Application() {
|
||||
DefaultData.upVersion()
|
||||
AppFreezeMonitor.init(this)
|
||||
Coroutine.async {
|
||||
LogUtils.logDeviceInfo()
|
||||
URL.setURLStreamHandlerFactory(ObsoleteUrlFactory(okHttpClient))
|
||||
launch { installGmsTlsProvider(appCtx) }
|
||||
RhinoScriptEngine
|
||||
|
||||
Reference in New Issue
Block a user