[8.1.0_new_ota]OTA2.0升级成功后发送一键停服命令

This commit is contained in:
xuxinchao
2025-07-29 14:44:41 +08:00
parent cde3c4e74a
commit 8c8e37d867

View File

@@ -524,8 +524,14 @@ object OTAUpgradeManager: IMoGoAutopilotStatusListener, IDataCenterBizListener,
CallerHmiManager.showOTAResultDialog(isShow = true, result = false)
versionTwoTimeoutNum = 0
handler.removeMessages(3)
CallerOTAManager.invokeOtaDownloadStatus(false)
}
if(otaStatus == "success"){
//升级成功,自动执行优雅停服
CallerAutoPilotControlManager.sendIpcPowerOff()
//当优雅停服完成、需要车辆下电的时候比如当前是停服触发60s后车端告知鹰眼司机屏弹窗提示用车人执行车辆下电操作
handler.sendEmptyMessageDelayed(2,60000)
CallerOTAManager.invokeOtaDownloadStatus(false)
CallerHmiManager.showOTADownloadStatusDialog(false,emptyList())
CallerHmiManager.showOTAResultDialog(isShow = true, result = true)
versionTwoTimeoutNum = 0