This commit is contained in:
Horis
2025-04-06 20:55:30 +08:00
parent f6996de75f
commit 405d0546d3
+1 -1
View File
@@ -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