[dev_arch_opt_3.0]线程优化相关初始化代码回退

This commit is contained in:
renwj
2023-01-30 11:01:13 +08:00
parent 6d3eeaca50
commit a353fcb025
4 changed files with 6 additions and 5 deletions

View File

@@ -22,6 +22,6 @@ class APMStartup : AndroidStartup<Boolean?>() {
}
override fun dependenciesByName(): List<String> {
return listOf("com.mogo.launcher.stageone.ARouterStartUp")
return listOf("com.mogo.launcher.stageone.ARouterStartUp", "com.mogo.launcher.stageone.ThreadOptStartup")
}
}

View File

@@ -33,6 +33,6 @@ class ARouterStartUp : AndroidStartup<String>() {
override fun waitOnMainThread() = false
override fun dependenciesByName(): List<String>? {
return null
return listOf("com.mogo.launcher.stageone.ThreadOptStartup")
}
}

View File

@@ -154,7 +154,7 @@ class ConfigStartUp : AndroidStartup<Boolean>() {
}
override fun dependenciesByName(): List<String>? {
return null
override fun dependenciesByName(): List<String> {
return listOf("com.mogo.launcher.stageone.ThreadOptStartup")
}
}

View File

@@ -70,7 +70,8 @@ class HttpDnsStartUp : AndroidStartup<Boolean>() {
override fun dependenciesByName(): List<String> {
return listOf(
"com.mogo.launcher.stageone.APMStartup"
"com.mogo.launcher.stageone.APMStartup",
"com.mogo.launcher.stageone.ThreadOptStartup"
)
}