diff --git a/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/report/IPCReportManager.kt b/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/report/IPCReportManager.kt index 95be0dd32a..b67437298d 100644 --- a/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/report/IPCReportManager.kt +++ b/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/report/IPCReportManager.kt @@ -5,6 +5,7 @@ import com.mogo.eagle.core.data.report.ReportEntity import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager import com.mogo.eagle.core.function.call.hmi.CallerHmiManager +import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils import com.mogo.eagle.core.utilcode.util.TimeUtils import mogo_msg.MogoReportMsg @@ -25,8 +26,11 @@ class IPCReportManager : IMoGoAutopilotStatusListener { } fun initServer(){ - // 添加 ADAS状态 监听 - CallerAutoPilotStatusListenerManager.addListener(TAG, this) + //乘客屏不显示监控信息弹窗,只在司机端提示 + if(AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)){ + // 添加 ADAS状态 监听 + CallerAutoPilotStatusListenerManager.addListener(TAG, this) + } } /** @@ -50,8 +54,11 @@ class IPCReportManager : IMoGoAutopilotStatusListener { } fun destroy(){ - // 移除 ADAS状态 监听 - CallerAutoPilotStatusListenerManager.removeListener(TAG) + //乘客屏不显示监控信息弹窗,只在司机端提示 + if(AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)){ + // 移除 ADAS状态 监听 + CallerAutoPilotStatusListenerManager.removeListener(TAG) + } } } \ No newline at end of file