异常上报
修改历史记录21条为20条
This commit is contained in:
@@ -35,7 +35,7 @@ class IPCReportManager : IMoGoAutopilotStatusListener {
|
||||
override fun onAutopilotGuardian(guardianInfo: MogoReportMsg.MogoReportMessage?) {
|
||||
guardianInfo?.let{
|
||||
if(it.level=="error"){
|
||||
if(ipcReportList.size>20){
|
||||
if(ipcReportList.size>19){
|
||||
ipcReportList.removeLast()
|
||||
}
|
||||
ipcReportList.add(0,
|
||||
|
||||
@@ -1023,7 +1023,7 @@ class MoGoHmiFragment : MvpFragment<MoGoHmiContract.View?, HmiPresenter?>(),
|
||||
override fun onAutopilotGuardian(guardianInfo: MogoReportMsg.MogoReportMessage?) {
|
||||
ThreadUtils.runOnUiThread{
|
||||
guardianInfo?.let {
|
||||
if(reportList.size>20){
|
||||
if(reportList.size>19){
|
||||
reportList.removeLast()
|
||||
}
|
||||
reportList.add(0,
|
||||
|
||||
Reference in New Issue
Block a user