fix bug
异常上报弹窗,当上下文被回收无法创建成功悬浮窗对象时,不进行语音提示
This commit is contained in:
@@ -246,7 +246,9 @@ class MoGoHmiFragment : MvpFragment<MoGoHmiContract.View?, HmiPresenter?>(),
|
||||
ipcReportWindow =null
|
||||
}
|
||||
})
|
||||
AIAssist.getInstance(AbsMogoApplication.getApp()).speakTTSVoice("嘟")
|
||||
ipcReportWindow?.let {
|
||||
AIAssist.getInstance(AbsMogoApplication.getApp()).speakTTSVoice("嘟")
|
||||
}
|
||||
}
|
||||
ipcReportWindow?.showFloatWindow()
|
||||
ipcReportWindow?.refreshData(reportList)
|
||||
|
||||
Reference in New Issue
Block a user