[6.4.0][启自驾指引][埋点] 添加来源字段
This commit is contained in:
@@ -553,8 +553,8 @@ class DevaToolsProvider : IDevaToolsProvider, IAppStateListener {
|
||||
group.addView(child, ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT))
|
||||
}
|
||||
|
||||
override fun getExceptionStatusBeforeLaunchAutopilot(): Int {
|
||||
return StatusManager.getExceptionStatusBeforeLaunchAutopilot()
|
||||
override fun getExceptionStatusBeforeLaunchAutopilot(source: Int): Int {
|
||||
return StatusManager.getExceptionStatusBeforeLaunchAutopilot(source)
|
||||
}
|
||||
|
||||
override fun registerRouteDownloadListener(tag: String, block: (state: Int) -> Unit) {
|
||||
|
||||
@@ -248,7 +248,7 @@ internal class MoFangCommandExecutor {
|
||||
if (AppIdentityModeUtils.isSweeper(FunctionBuildConfig.appIdentityMode)) {
|
||||
CallerAutoPilotControlManager.startAutoPilotByMoFang(parameters)
|
||||
} else {
|
||||
if (CallerAutoPilotControlManager.isCanStartAutopilot(true)) {
|
||||
if (CallerAutoPilotControlManager.isCanStartAutopilot(true, -1)) {
|
||||
CallerAutoPilotControlManager.startAutoPilot(parameters)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@ object StatusManager {
|
||||
listeners.remove(tag)
|
||||
}
|
||||
|
||||
fun getExceptionStatusBeforeLaunchAutopilot(): Int {
|
||||
fun getExceptionStatusBeforeLaunchAutopilot(source: Int): Int {
|
||||
if (!hasInit) {
|
||||
return 0
|
||||
}
|
||||
@@ -202,6 +202,7 @@ object StatusManager {
|
||||
"vehicle_start_autopilot_state_check",
|
||||
HashMap<String, Any>().also { itx ->
|
||||
itx["time"] = time
|
||||
itx["src"] = source
|
||||
itx["desc"] = ll.joinToString(",") { item ->
|
||||
when (item) {
|
||||
is SteerStatus -> "方向盘"
|
||||
|
||||
Reference in New Issue
Block a user