Merge branch 'dev_robotaxi-d-app-module_2132_221223_2.13.2' into 'test_robotaxi-d-app-module_2132_221223_2.13.2.1'

[2.13.2][fix]解决汇总消息图标显示的问题

See merge request zhjt/AndroidApp/MoGoEagleEye!505
This commit is contained in:
chenfufeng
2023-01-15 06:26:37 +00:00

View File

@@ -87,7 +87,16 @@ object DataManager {
msg.timestamp = System.currentTimeMillis()
msg.bean2Json = GsonUtils.toJson(msg.bean)
when (type) {
MsgBoxType.V2X, MsgBoxType.OBU, MsgBoxType.NOTICE, MsgBoxType.OPERATION -> {
MsgBoxType.V2X -> {
// 汇总消息不存数据库
if (msg.sourceType != DataSourceType.SUMMARY) {
synchronized(this) {
notifyList.add(msg)
}
}
CallerMsgBoxListenerManager.invokeListener(MsgCategory.NOTICE, msg)
}
MsgBoxType.OBU, MsgBoxType.NOTICE, MsgBoxType.OPERATION -> {
synchronized(this) {
notifyList.add(msg)
}