[自主算路验证] feat: 增加关闭SOPSettingView的入口方法,在登出时 关闭;
This commit is contained in:
@@ -60,6 +60,7 @@ class LoginServiceImpl : LoginService,ILoginViewCallback {
|
||||
if(uiModel) {
|
||||
fragment?.let {
|
||||
CallerHmiManager.hideToolsView()
|
||||
CallerHmiManager.hideSOPSettingView()
|
||||
val parentFragmentManager = it.childFragmentManager
|
||||
val fragmentByTag: Fragment? = parentFragmentManager.findFragmentByTag(TAG)
|
||||
if (fragmentByTag is DialogFragment) {
|
||||
|
||||
@@ -238,6 +238,10 @@ class MoGoHmiProvider : IMoGoHmiProvider {
|
||||
toolsView.dismiss()
|
||||
}
|
||||
|
||||
override fun hideSOPSettingView() {
|
||||
toolsView.hideSOPSettingView()
|
||||
}
|
||||
|
||||
@BizConfig(V2I, "", BIZ_RTS)
|
||||
override fun showVideoDialog(infList: List<Infrastructure>) {
|
||||
ThreadUtils.runOnUiThread {
|
||||
|
||||
@@ -6,11 +6,9 @@ import android.view.Gravity
|
||||
import android.view.View
|
||||
import android.view.WindowManager
|
||||
import android.view.animation.OvershootInterpolator
|
||||
import com.mogo.eagle.core.data.config.FunctionBuildConfig
|
||||
import com.mogo.eagle.core.data.enums.SidePattern
|
||||
import com.mogo.eagle.core.function.hmi.notification.WarningFloat
|
||||
import com.mogo.eagle.core.function.hmi.notification.anim.DefaultAnimator
|
||||
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
||||
import me.jessyan.autosize.utils.AutoSizeUtils
|
||||
|
||||
class SopView private constructor(){
|
||||
@@ -77,4 +75,12 @@ class SopView private constructor(){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun dismiss() {
|
||||
if (mSOPSettingViewFloat != null) {
|
||||
WarningFloat.dismiss(mSOPSettingViewFloat!!.config.floatTag, false)
|
||||
mSOPSettingViewFloat = null
|
||||
mSOPSettingView = null
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -123,4 +123,8 @@ class ToolsView private constructor() {
|
||||
dismissToolsFloatView()
|
||||
}
|
||||
|
||||
fun hideSOPSettingView() {
|
||||
sopView?.dismiss()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -66,6 +66,11 @@ interface IMoGoHmiProvider :IProvider{
|
||||
*/
|
||||
fun hideToolsView()
|
||||
|
||||
/**
|
||||
* 关闭运营面板
|
||||
*/
|
||||
fun hideSOPSettingView()
|
||||
|
||||
/**
|
||||
* 展示绑定车辆弹框
|
||||
*/
|
||||
|
||||
@@ -104,6 +104,13 @@ object CallerHmiManager {
|
||||
hmiProviderApi?.hideToolsView()
|
||||
}
|
||||
|
||||
/**
|
||||
* 关闭运营面板
|
||||
*/
|
||||
fun hideSOPSettingView() {
|
||||
hmiProviderApi?.hideSOPSettingView()
|
||||
}
|
||||
|
||||
/**
|
||||
* 展示绑定车辆弹框
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user