[8.4.0]临时代码,注释吐司提示

This commit is contained in:
xuxinchao
2026-02-27 10:04:00 +08:00
parent f900af9f94
commit eb3ebba1cf
14 changed files with 38 additions and 38 deletions

View File

@@ -180,7 +180,7 @@ class MoGoAutopilotControlProvider :
override fun onStopServer() {
// ToastUtils.showLong("司机端服务停止!")
ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_driver_service_stop)
// ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_driver_service_stop)
timer?.cancel()
timer = null
// invokeNettyConnResult("司机端服务停止!")
@@ -266,7 +266,7 @@ class MoGoAutopilotControlProvider :
}.onFailure { throwable ->
if (DebugConfig.isDebug()) {
// ToastUtils.showLong("AutoPilot出现异常请立即处理!")
ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_autopilot_exception)
// ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_autopilot_exception)
}
throwable.printStackTrace()
}

View File

@@ -78,7 +78,7 @@ class MoGoAdasMsgConnectStatusListenerImpl :
private fun connectToast(reason: Int) {
if (CallerIpcConnectStateToastManager.isToast) {
ToastUtils.showShort(reason)
// ToastUtils.showShort(reason)
}
}

View File

@@ -520,7 +520,7 @@ class TeleMsgHandler : IMsgHandler {
}
TelematicConstant.PASSENGER_APP_REBOOT -> {
// ToastUtils.showLong("乘客屏已收到重启命令")
ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_passenger_received_restart_command)
// ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_passenger_received_restart_command)
}
else -> {
}
@@ -553,7 +553,7 @@ class TeleMsgHandler : IMsgHandler {
}
// AdasManager.getInstance().startDispatchHandler()
// ToastUtils.showShort("连接司机屏成功!")
ToastUtils.showShort(R.string.module_mogo_core_function_datacenter_passenger_link_driver_success)
// ToastUtils.showShort(R.string.module_mogo_core_function_datacenter_passenger_link_driver_success)
invokeReqStatusLog(mapOf("dpConnectStatus" to true))
val byteArray = byteArrayOf(0)
NSDNettyManager.getInstance().sendMogoProtocolMsgToServer(
@@ -571,7 +571,7 @@ class TeleMsgHandler : IMsgHandler {
AppConfigInfo.plateNumber = ""
AppConfigInfo.iPCMacAddress = ""
// ToastUtils.showLong("断开和司机屏的连接!")
ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_passenger_disconnect_driver)
// ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_passenger_disconnect_driver)
invokeReqStatusLog(mapOf("dpConnectStatus" to false))
AdasManager.getInstance().stopDispatchHandler()
}
@@ -580,7 +580,7 @@ class TeleMsgHandler : IMsgHandler {
ConnectState.STATUS_CONNECT_ERROR -> {
AppConfigInfo.plateNumber = ""
// ToastUtils.showLong("和司机端连接异常!")
ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_passenger_connect_driver_error)
// ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_passenger_connect_driver_error)
invokeReqStatusLog(mapOf("dpConnectErrorMsg" to "$content"))
AdasManager.getInstance().stopDispatchHandler()
}