From 7cc7820b0a904296a19ccaeb065f5709b4a9c7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Thu, 4 Nov 2021 15:57:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9F=9F=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=99=A8=E6=B3=A8=E5=86=8C=E7=9B=91=E5=90=AC=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=86=99=E9=94=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 董宏宇 --- .../call/autopilot/CallerAutoPilotStatusListenerManager.kt | 3 +-- .../call/autopilot/CallerAutopilotPlanningListenerManager.kt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotStatusListenerManager.kt b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotStatusListenerManager.kt index 9032e85bef..0e45501c98 100644 --- a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotStatusListenerManager.kt +++ b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotStatusListenerManager.kt @@ -5,7 +5,6 @@ import com.mogo.eagle.core.data.autopilot.AutopilotGuardianStatusInfo import com.mogo.eagle.core.data.autopilot.AutopilotStationInfo import com.mogo.eagle.core.data.autopilot.AutopilotStatusInfo import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener -import com.mogo.eagle.core.function.api.obu.IMoGoObuStatusListener import com.mogo.eagle.core.function.call.base.CallerBase import com.mogo.eagle.core.utilcode.mogo.logger.Logger import com.mogo.eagle.core.utilcode.util.GsonUtils @@ -72,7 +71,7 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { * 删除自动驾驶按钮选中监听 * @param listener 要删除的监听对象 */ - fun removeListener(@Nullable listener: IMoGoObuStatusListener) { + fun removeListener(@Nullable listener: IMoGoAutopilotStatusListener) { M_AUTOPILOT_STATUS_LISTENERS.forEach { if (it.value == listener) { M_AUTOPILOT_STATUS_LISTENERS.remove(it.key) diff --git a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutopilotPlanningListenerManager.kt b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutopilotPlanningListenerManager.kt index fc6379ed8b..1ca4f944ff 100644 --- a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutopilotPlanningListenerManager.kt +++ b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutopilotPlanningListenerManager.kt @@ -4,7 +4,6 @@ import androidx.annotation.Nullable import com.mogo.eagle.core.data.autopilot.ADASTrajectoryInfo import com.mogo.eagle.core.data.autopilot.AutopilotRouteInfo import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotPlanningListener -import com.mogo.eagle.core.function.api.obu.IMoGoObuStatusListener import com.mogo.eagle.core.function.call.base.CallerBase import com.mogo.eagle.core.utilcode.mogo.logger.Logger @@ -53,7 +52,7 @@ object CallerAutopilotPlanningListenerManager : CallerBase() { * 删除自动驾驶按钮选中监听 * @param listener 要删除的监听对象 */ - fun removeListener(@Nullable listener: IMoGoObuStatusListener) { + fun removeListener(@Nullable listener: IMoGoAutopilotPlanningListener) { M_AUTOPILOT_PLANNING_LISTENER.forEach { if (it.value == listener) { M_AUTOPILOT_PLANNING_LISTENER.remove(it.key)