[dev_arch_opt_3.0]线程优化相关初始化代码回退
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user