[dev_arch_opt_3.0]
[Change] [1、将Call中注册,反注册操作下沉CallerBase] Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -76,7 +76,7 @@ class DispatchAutoPilotManager private constructor() :
|
||||
MogoAiCloudSocketManager.getInstance(context)
|
||||
.registerOnMessageListener(MSG_SOCKET_TYPE, this)
|
||||
// 添加自动驾驶按钮选中监听
|
||||
CallerHmiListenerManager.addCheckAutoPilotBtnListener(TAG, this)
|
||||
CallerHmiListenerManager.addListener(TAG, this)
|
||||
// 添加 规划路径相关回调 监听
|
||||
CallerAutopilotPlanningListenerManager.addListener(TAG, this)
|
||||
// 添加 ADAS状态 监听
|
||||
@@ -86,7 +86,7 @@ class DispatchAutoPilotManager private constructor() :
|
||||
|
||||
fun release() {
|
||||
// 添加自动驾驶按钮选中监听
|
||||
CallerHmiListenerManager.removeCheckAutoPilotBtnListener(TAG)
|
||||
CallerHmiListenerManager.removeListener(TAG)
|
||||
// 添加 规划路径相关回调 监听
|
||||
CallerAutopilotPlanningListenerManager.removeListener(TAG)
|
||||
// 添加 ADAS状态 监听
|
||||
|
||||
Reference in New Issue
Block a user