[3.4.0][视角] 视角切换逻辑优化

This commit is contained in:
renwj
2023-07-12 14:27:55 +08:00
parent 494a3e51db
commit ff9c7f438b
12 changed files with 61 additions and 162 deletions

View File

@@ -7,8 +7,6 @@ import com.mogo.eagle.core.data.config.HmiBuildConfig
import com.mogo.eagle.core.data.enums.*
import com.mogo.eagle.core.data.obu.MogoObuConst
import com.mogo.eagle.core.function.api.hmi.warning.IMoGoWarningStatusListener
import com.mogo.eagle.core.function.api.map.angle.Default
import com.mogo.eagle.core.function.api.map.angle.TooClose
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerChassisLocationGCJ02ListenerManager
import com.mogo.eagle.core.function.call.devatools.CallerDevaToolsManager
@@ -949,20 +947,7 @@ class MogoPrivateObuNewManager private constructor() : OnUpgradeListener {
CallerHmiManager.warningV2X(v2xType,
alertContent,
ttsContent,// 只有第一次才tts防止更新的时候不断的提醒
object : IMoGoWarningStatusListener {
override fun onShow() {
super.onShow()
if (changeVisualAngle) {
CallerVisualAngleManager.changeAngle(TooClose)
}
}
override fun onDismiss() {
if (changeVisualAngle) {
CallerVisualAngleManager.changeAngle(Default())
}
}
},
null,
direction,
isFromObu = true
)