优化
This commit is contained in:
@@ -57,7 +57,6 @@ class App : Application() {
|
|||||||
CrashHandler(this)
|
CrashHandler(this)
|
||||||
LogUtils.init(this)
|
LogUtils.init(this)
|
||||||
LogUtils.d("App", "onCreate")
|
LogUtils.d("App", "onCreate")
|
||||||
LogUtils.logDeviceInfo()
|
|
||||||
if (isDebuggable) {
|
if (isDebuggable) {
|
||||||
ThreadUtils.setThreadAssertsDisabledForTesting(true)
|
ThreadUtils.setThreadAssertsDisabledForTesting(true)
|
||||||
}
|
}
|
||||||
@@ -76,6 +75,7 @@ class App : Application() {
|
|||||||
DefaultData.upVersion()
|
DefaultData.upVersion()
|
||||||
AppFreezeMonitor.init(this)
|
AppFreezeMonitor.init(this)
|
||||||
Coroutine.async {
|
Coroutine.async {
|
||||||
|
LogUtils.logDeviceInfo()
|
||||||
URL.setURLStreamHandlerFactory(ObsoleteUrlFactory(okHttpClient))
|
URL.setURLStreamHandlerFactory(ObsoleteUrlFactory(okHttpClient))
|
||||||
launch { installGmsTlsProvider(appCtx) }
|
launch { installGmsTlsProvider(appCtx) }
|
||||||
RhinoScriptEngine
|
RhinoScriptEngine
|
||||||
|
|||||||
Reference in New Issue
Block a user