[6.5.0]行程总结全息路口数量清空调用位置调整
This commit is contained in:
@@ -143,6 +143,7 @@ open class ItinerarySummaryDialog(context: Context, isDriver: Boolean, theme: In
|
||||
AutopilotSummaryInfo.vehicleTipNum = 0
|
||||
AutopilotSummaryInfo.vulnerableTipNum = 0
|
||||
AutopilotSummaryInfo.dangerNum = 0
|
||||
CallerAutoPilotStatusListenerManager.resetRoadCount()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user