diff --git a/core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotStatusListener.kt b/core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotStatusListener.kt index 73aa0a4baa..86208cc151 100644 --- a/core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotStatusListener.kt +++ b/core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotStatusListener.kt @@ -41,7 +41,6 @@ interface IMoGoAutopilotStatusListener { */ fun onAutopilotIpcConnectStatusChanged(status: Int, reason: String?) {} - /** * 工控机主动查询 AdasManager#sendStatusQueryReq(),后会收到如下回调 */ 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 fff9e788b6..a19f54dc4f 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 @@ -23,7 +23,6 @@ object CallerAutoPilotStatusListenerManager : CallerBase?) { M_LISTENERS.forEach { @@ -48,6 +51,7 @@ object CallerAutopilotIdentifyListenerManager : CallerBase() { // 存储最后一次回调的数据,当有新当位置注册了监听将此数据回调过去,防止有些模块注册顺序问题导致无法获取最新状态 private var mIsChecked: Boolean = false + override fun doSomeAfterAddListener(tag: String, listener: IMoGoCheckAutoPilotBtnListener) { + listener.onCheck(mIsChecked) + } + /** * 触发自动驾驶按钮选中监听 * @param isChecked 选中状态