[8.4.0]临时代码,去掉消息盒子报错信息

This commit is contained in:
xuxinchao
2026-02-27 09:44:55 +08:00
parent 991f43b14a
commit f900af9f94
2 changed files with 12 additions and 9 deletions

View File

@@ -62,9 +62,9 @@ class UnmannedMsgBoxView @JvmOverloads constructor(
getDrawable(R.drawable.rv_divider_line_tab)?.let { divider.setDrawable(it) }
rvUnmannedMsgBoxList.addItemDecoration(divider)
//获取通知消息列表
CallerMsgBoxManager.getCachedNotifyData()?.let {
noticeList.addAll(it)
}
// CallerMsgBoxManager.getCachedNotifyData()?.let {
// noticeList.addAll(it)
// }
// 获取车辆系统信息
CallerMsgBoxManager.getCachedSysInfoData()?.let {
noticeList.addAll(it)
@@ -132,7 +132,10 @@ class UnmannedMsgBoxView @JvmOverloads constructor(
// msgBoxTabAdapter?.notifyItemInserted(0)
}
}
//FM和FSM Event消息暂时不展示
MsgCategory.FM_INFO ->{
return@post
}
else -> {
noticeList.add(0, msgBoxList)
// msgBoxTabAdapter?.notifyItemInserted(0)

View File

@@ -399,15 +399,15 @@ class MsgBoxTabAdapter(private val activity: Activity) :
|| reportEntity.resultList.contains(RESULT_REMOTEPILOT_DISABLE)
) {
//Error
holder.ivReportImage.setImageDrawable(getDrawable(R.drawable.icon_report_error))
holder.tvReportLevel.text = "Error"
holder.ivReportImage.setImageDrawable(getDrawable(R.drawable.icon_report_info))
holder.tvReportLevel.text = "Info"
} else if(reportEntity.resultList.contains(RESULT_AUTOPILOT_INFERIOR)
|| reportEntity.resultList.contains(RESULT_SHOW_WARNING)
|| reportEntity.resultList.contains(RESULT_REMOTEPILOT_INFERIOR)
){
//Warning
holder.ivReportImage.setImageDrawable(getDrawable(R.drawable.icon_report_warning))
holder.tvReportLevel.text = "Warning"
holder.ivReportImage.setImageDrawable(getDrawable(R.drawable.icon_report_info))
holder.tvReportLevel.text = "Info"
}else {
//INFO
holder.ivReportImage.setImageDrawable(getDrawable(R.drawable.icon_report_info))
@@ -423,7 +423,7 @@ class MsgBoxTabAdapter(private val activity: Activity) :
resultStr =
"${resultStr}${CallerAutoPilotControlManager.getReportResultDesc(result)}"
}
holder.tvReportType.text = resultStr
holder.tvReportType.text = "通知消息"
// holder.tvReportReason.text = "原因:${reportEntity.msg}"
holder.tvReportReason.text = "${StringUtils.getString(R.string.module_core_cause1)}${reportEntity.msg}"
// holder.tvReportSrc.text = "消息来源:${reportEntity.src}"