[6.5.0][事件弹框]feat: 无订单不弹事件弹框;
This commit is contained in:
@@ -18,6 +18,7 @@ import com.mogo.eagle.core.data.config.FunctionBuildConfig
|
||||
import com.mogo.eagle.core.data.v2x.RoadV2NEventType
|
||||
import com.mogo.eagle.core.data.v2x.RoadV2NEventWindowBean
|
||||
import com.mogo.eagle.core.function.api.hmi.v2n.IRoadV2NEventWindowListener
|
||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
|
||||
import com.mogo.eagle.core.function.call.autopilot.CallerChassisLocationWGS84ListenerManager
|
||||
import com.mogo.eagle.core.function.call.hmi.CallerHmiViewControlListenerManager
|
||||
import com.mogo.eagle.core.function.call.hmi.CallerRoadV2NEventWindowListenerManager
|
||||
@@ -285,6 +286,11 @@ class RoadV2NEventWindowView @JvmOverloads constructor(
|
||||
trackEvent("show --> 当前不在高精地图页面,跳过")
|
||||
return
|
||||
}
|
||||
val lineId = CallerAutoPilotStatusListenerManager.getLineId()
|
||||
if (lineId <= 0) {
|
||||
trackEvent("show --> 当前无订单,跳过")
|
||||
return
|
||||
}
|
||||
UiThreadHandler.removeCallbacks(dismissRunnable)
|
||||
UiThreadHandler.post {
|
||||
currentEventUUID = dataBean.eventId
|
||||
|
||||
Reference in New Issue
Block a user