[code_opt_3.3.0] update aicloud roma map error invoke
This commit is contained in:
@@ -2,6 +2,7 @@ package com.mogo.eagle.core.function.business.ai
|
||||
|
||||
import android.content.Context
|
||||
import android.os.Handler
|
||||
import android.os.Message
|
||||
import com.mogo.aicloud.services.socket.IMogoOnMessageListener
|
||||
import com.mogo.aicloud.services.socket.MogoAiCloudSocketManager
|
||||
import com.mogo.commons.debug.DebugConfig
|
||||
@@ -94,7 +95,7 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
if (it.what == H_ERROR_MAP) {
|
||||
MapBizTrace.log(
|
||||
CHAIN_CODE_ROMA_MAP_START, CHAIN_CODE_ROMA_MAP_ERROR, TAG, GsonUtils.toJson(
|
||||
mutableMapOf("msg" to "地图漫游模式启动失败")
|
||||
mutableMapOf("msg" to "地图漫游模式启动失败,原因:${it.obj}")
|
||||
)
|
||||
)
|
||||
if (DebugConfig.isDebug()) {
|
||||
@@ -264,7 +265,10 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
handler.sendEmptyMessageDelayed(H_ERROR_CLOUD, H_DELAY_TIME)
|
||||
}
|
||||
1 -> {
|
||||
handler.sendEmptyMessage(H_ERROR_MAP)
|
||||
val m = Message.obtain()
|
||||
m.what = H_ERROR_MAP
|
||||
m.obj = msg
|
||||
handler.sendMessage(m)
|
||||
reset()
|
||||
}
|
||||
2 -> { // 地图自动漫游结束,重置状态,调用close通知服务端
|
||||
|
||||
Reference in New Issue
Block a user