[6.9.0]OTA升级

This commit is contained in:
xuxinchao
2024-12-04 16:50:49 +08:00
parent a706c59ac0
commit c9e0f1e4f4
14 changed files with 486 additions and 37 deletions

View File

@@ -9,6 +9,7 @@ import com.mogo.eagle.core.data.biz.notice.NoticeNormalData
import com.mogo.eagle.core.data.biz.notice.NoticeTrafficStylePushData
import com.mogo.eagle.core.data.constants.MogoServicePaths
import com.mogo.eagle.core.data.deva.bindingcar.IPCUpgradeStateInfo
import com.mogo.eagle.core.data.deva.ota.OtaUpgradeInfo
import com.mogo.eagle.core.data.enums.WarningDirectionEnum
import com.mogo.eagle.core.data.enums.WarningDirectionEnum.ALERT_WARNING_NON
import com.mogo.eagle.core.data.map.Infrastructure
@@ -476,4 +477,19 @@ object CallerHmiManager {
hmiProviderApi?.showOTAUpgradeDialog()
}
/**
* 展示OTA升级下载状态弹窗
*/
fun showOTADownloadStatusDialog(list: List<OtaUpgradeInfo>){
hmiProviderApi?.showOTADownloadStatusDialog(list)
}
/**
* 展示OTA升级提示
* @param visible 设置是否可见
*/
fun showOTAUpgradeTipView(visible: Boolean){
hmiProviderApi?.showOTAUpgradeTipView(visible)
}
}