From d4fe0a08d9d58052e11d6cfee55378594e714a74 Mon Sep 17 00:00:00 2001 From: xuxinchao Date: Wed, 9 Oct 2024 15:04:13 +0800 Subject: [PATCH] =?UTF-8?q?[6.6.2]=E8=A1=8C=E7=A8=8B=E6=80=BB=E7=BB=93?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E6=95=B0=E9=87=8F=E5=88=A4=E6=96=AD=E9=AB=98?= =?UTF-8?q?=E7=B2=BE=E5=9C=B0=E5=9B=BE=E6=98=AF=E5=90=A6=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E5=92=8C=E6=98=AF=E5=90=A6=E6=9C=89=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../call/autopilot/CallerServicesEventManager.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerServicesEventManager.kt b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerServicesEventManager.kt index b4db4416e6..1f8ad22908 100644 --- a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerServicesEventManager.kt +++ b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerServicesEventManager.kt @@ -1,6 +1,7 @@ package com.mogo.eagle.core.function.call.autopilot import com.mogo.eagle.core.data.autopilot.AutopilotSummaryInfo +import com.mogo.eagle.core.function.call.hmi.CallerHmiViewControlListenerManager object CallerServicesEventManager { @@ -18,6 +19,14 @@ object CallerServicesEventManager { } fun updateServicesNum(serviceType: ServiceType){ + val canShowV2NEventWindowView = CallerHmiViewControlListenerManager.getMainPageVisible() + if (!canShowV2NEventWindowView) { + return + } + val lineId = CallerAutoPilotStatusListenerManager.getLineId() + if (lineId <= 0) { + return + } when(serviceType){ //全息路口服务次数 ServiceType.ROAD->{