[6.6.0][启自驾成功率] feat: 业务层埋点增加sessionId (M1乘客屏 / Taxi算路验证模式 / 清扫车 除外);

This commit is contained in:
aibingbing
2024-08-26 15:16:52 +08:00
parent d4f7353a68
commit a6c11d130c
11 changed files with 81 additions and 26 deletions

View File

@@ -731,8 +731,6 @@ public class OrderModel {
return;
}
firstStartAutopilot++;
if(CallerAutoPilotStatusListenerManager.INSTANCE.getState() != IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING){
@@ -746,7 +744,8 @@ public class OrderModel {
return;
}
OchAutoPilotManager.startAutoPilot(parameters);
long sessionId = OchAutoPilotManager.startAutoPilot(parameters);
triggerUpdateStartAutoPilotSessionId(sessionId);
CallerLogger.d(M_BUS + TAG, "行程日志-开启自动驾驶====" + GsonUtil.jsonFromObject(parameters)
+ " startLatLon=" + parameters.startName + "endLatLon=" + parameters.endName +
@@ -1259,6 +1258,13 @@ public class OrderModel {
currentStation.getName(), nextStation.getName(), currentLineId,"",System.currentTimeMillis());
}
public void triggerUpdateStartAutoPilotSessionId(long sessionId) {
if (backgroundCurrentStationIndex >= stationList.size() - 1) {
return;
}
BusAnalyticsManager.INSTANCE.triggerUpdateStartAutoPilotSessionId(sessionId);
}
public void triggerUnableStartAPReasonEvent() {
if (backgroundCurrentStationIndex >= stationList.size() - 1) {
return;