[自主算路验证] feat: 增加关闭SOPSettingView的入口方法,在登出时 关闭;
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user