[6.3.0]消息盒子过滤不展示RTK的Error
This commit is contained in:
@@ -114,6 +114,14 @@ class IPCReportManager : IMoGoAutopilotStatusListener {
|
||||
|| it.code == MogoReport.Code.Info.IVEHICLE.NOT_IN_TROUBLE
|
||||
|| it.code == MogoReport.Code.Info.ILCT.RTK_STATUS_NORMAL
|
||||
){
|
||||
/**
|
||||
* rtk报error后历史信息会一直在消息盒子里,异常恢复后消息会产生误导;
|
||||
* 并且目前有fm和通知栏状态去表示rtk状态,error消息可以删除不显示
|
||||
*/
|
||||
if(it.code == MogoReport.Code.Error.ELCT.RTK_STATUS_FAULT
|
||||
|| it.code == MogoReport.Code.Error.ELCT.RTK_STATUS_UNKNOWN){
|
||||
return@let
|
||||
}
|
||||
val reportEntity = ReportEntity(TimeUtils.millis2String(System.currentTimeMillis()),
|
||||
it.src,it.level,it.msg,it.code,it.resultList,it.actionsList,false)
|
||||
CallerMsgBoxManager.saveMsgBox(MsgBoxBean(MsgBoxType.REPORT, reportEntity))
|
||||
|
||||
Reference in New Issue
Block a user