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)