[8.2.0]OTA2.0升级成功或者失败后,将本地token置为空

This commit is contained in:
xuxinchao
2025-08-13 16:27:15 +08:00
parent a1448ae33e
commit 9cc80e7387

View File

@@ -534,6 +534,7 @@ object OTAUpgradeManager: IMoGoAutopilotStatusListener, IDataCenterBizListener,
versionTwoTimeoutNum = 0
handler.removeMessages(3)
CallerOTAManager.invokeOtaDownloadStatus(false)
OTAUpgradeConfig.token = ""
}
if(otaStatus == "success"){
//升级成功,自动执行优雅停服
@@ -545,6 +546,7 @@ object OTAUpgradeManager: IMoGoAutopilotStatusListener, IDataCenterBizListener,
CallerHmiManager.showOTAResultDialog(isShow = true, result = true)
versionTwoTimeoutNum = 0
handler.removeMessages(3)
OTAUpgradeConfig.token = ""
}
}