[8.1.0]OTA升级下载过程中展示剩余时间
This commit is contained in:
@@ -199,7 +199,7 @@ object OTAUpgradeManager: IMoGoAutopilotStatusListener, IDataCenterBizListener,
|
||||
productName = productName.trim().substringAfterLast(":")
|
||||
}
|
||||
val otaUpgradeInfo = OtaUpgradeInfo(token, productStatus,failReason,upgradeReason,
|
||||
taskId,taskItemId,otaType,productName,needRestart,isDelay,curSize,totalSize)
|
||||
taskId,taskItemId,otaType,productName,needRestart,isDelay,curSize,totalSize,leftTime)
|
||||
otaUpgradeList.add(otaUpgradeInfo)
|
||||
}
|
||||
CallerHmiManager.showOTADownloadStatusDialog(true,otaUpgradeList)
|
||||
@@ -338,7 +338,7 @@ object OTAUpgradeManager: IMoGoAutopilotStatusListener, IDataCenterBizListener,
|
||||
productName = productName.trim().substringAfterLast(":")
|
||||
}
|
||||
val otaUpgradeInfo = OtaUpgradeInfo(token, productStatus,failReason,upgradeReason,
|
||||
taskId,taskItemId,otaType,productName,needRestart,isDelay,curSize,totalSize)
|
||||
taskId,taskItemId,otaType,productName,needRestart,isDelay,curSize,totalSize,leftTime)
|
||||
otaUpgradeList.add(otaUpgradeInfo)
|
||||
}
|
||||
if(!upgradeComplete){
|
||||
|
||||
Reference in New Issue
Block a user