[fix]
[起自驾过程中 取消15s超时统计]
This commit is contained in:
yangyakun
2025-05-09 18:34:28 +08:00
parent 3b945bf3d8
commit 493a0730b5
2 changed files with 10 additions and 0 deletions

View File

@@ -177,6 +177,9 @@ object OchAutoPilotStatusListenerManager : CallerBase<IOchAutopilotStatusListene
reason: String?
) {
super.onAutopilotIpcConnectStatusChanged(status, reason)
if (!CallerAutoPilotStatusListenerManager.isConnect()) {// 工控机断开了
OchAutopilotAnalytics.cancleStartAutopilot()
}
M_LISTENERS.forEach {
val listener = it.value
listener.onAutopilotIpcConnectStatusChanged(status,reason)

View File

@@ -265,6 +265,13 @@ object OchAutopilotAnalytics {
MogoAnalyticUtils.track(getEventKeyClickStartAutopilot(), params)
}
/**
* 取消自驾15s等待
*/
fun cancleStartAutopilot(){
RxUtils.disposeSubscribe(timeOutDisposable)
}
// 无人化taxi event_key_unmanned_taxi_start_service *
// bus event_key_och_bus_start_service *
// shuttle event_key_och_bus_start_service *