[680][core] 优雅停服后的异常提示优化 收到命令回执后将不在进行消息盒子弹出提示
This commit is contained in:
@@ -20,6 +20,7 @@ import com.mogo.eagle.core.data.msgbox.MsgFmData
|
||||
import com.mogo.eagle.core.function.api.datacenter.IDataCenterBizListener
|
||||
import com.mogo.eagle.core.function.api.datacenter.msgbox.IMsgBoxListener
|
||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
|
||||
import com.mogo.eagle.core.function.call.autopilot.CallerIpcConnectStateToastManager
|
||||
import com.mogo.eagle.core.function.call.datacenter.CallerDataCenterBizListener
|
||||
import com.mogo.eagle.core.function.call.devatools.CallerDevaToolsManager
|
||||
import com.mogo.eagle.core.function.call.msgbox.CallerMsgBoxEventListenerManager
|
||||
@@ -87,6 +88,9 @@ class MsgBoxToastView @JvmOverloads constructor(
|
||||
UiThreadHandler.post({
|
||||
when (category) {
|
||||
MsgCategory.NOTICE -> {
|
||||
if (msgBoxBean.type == MsgBoxType.AUTOPILOT && !CallerIpcConnectStateToastManager.isToast) {
|
||||
return@post
|
||||
}
|
||||
MsgBoxConfig.noticeList.add(msgBoxBean)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user