add func of statusbar and func config wait to update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.mogo.eagle.core.function.call.hmi
|
||||
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import com.alibaba.android.arouter.launcher.ARouter
|
||||
import com.mogo.eagle.core.data.bindingcar.IPCUpgradeStateInfo
|
||||
import com.mogo.eagle.core.data.constants.MoGoFragmentPaths
|
||||
@@ -292,7 +293,13 @@ object CallerHmiManager : CallerBase() {
|
||||
waringProviderApi?.showModifyBindingcarDialog()
|
||||
}
|
||||
|
||||
fun showUpgradeDialog(name: String, url: String, title: String, content: String, installType: String) {
|
||||
fun showUpgradeDialog(
|
||||
name: String,
|
||||
url: String,
|
||||
title: String,
|
||||
content: String,
|
||||
installType: String
|
||||
) {
|
||||
waringProviderApi?.showUpgradeDialog(name, url, title, content, installType)
|
||||
}
|
||||
|
||||
@@ -397,7 +404,6 @@ object CallerHmiManager : CallerBase() {
|
||||
waringProviderApi?.showVideoDialog(infList)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 设置 bus出车/收车View
|
||||
* @param view
|
||||
@@ -405,4 +411,19 @@ object CallerHmiManager : CallerBase() {
|
||||
fun setBusOperationView(view: IOchBusView) {
|
||||
waringProviderApi?.setBusOperationView(view)
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置状态栏暗夜或明亮模式
|
||||
* 默认 light
|
||||
*/
|
||||
fun setStatusBarDarkOrLight(light: Boolean = true) {
|
||||
waringProviderApi?.setStatusBarDarkOrLight(light)
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新(添加/删除)状态栏右侧元素
|
||||
*/
|
||||
fun updateStatusBarRightView(insert: Boolean, tag: String, viewGroup: ViewGroup) {
|
||||
waringProviderApi?.updateStatusBarRightView(insert, tag, viewGroup)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user