[6.5.0]行程总结全息路口数量清空调用位置调整

This commit is contained in:
xuxinchao
2024-07-24 11:57:40 +08:00
parent b209e214d1
commit 8fce3e45be
2 changed files with 6 additions and 1 deletions

View File

@@ -143,6 +143,7 @@ open class ItinerarySummaryDialog(context: Context, isDriver: Boolean, theme: In
AutopilotSummaryInfo.vehicleTipNum = 0
AutopilotSummaryInfo.vulnerableTipNum = 0
AutopilotSummaryInfo.dangerNum = 0
CallerAutoPilotStatusListenerManager.resetRoadCount()
}
}

View File

@@ -38,8 +38,8 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
}
if(newValue == 0L){
mAutopilotStatusInfo.isArriveAtStation = false
atomicCountRoad.set(0)
}
CallerTrace.write("AutoPilotStatus", mapOf("AutoPilotStatusLineId" to newValue))
M_LISTENERS.forEach {
val listener = it.value
listener.onAutopilotRouteLineId(newValue)
@@ -304,5 +304,9 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
CallerTrace.write("getRoadCount", mapOf("roadCount" to count))
return count
}
fun resetRoadCount(){
atomicCountRoad.set(0)
}
}