Merge branch 'dev_robotaxi-d_240227_6.3.0' of gitlab.zhidaoauto.com:SCA/L4HA/AndroidApp/MoGoEagleEye into dev_robotaxi-d_240227_6.3.0
This commit is contained in:
@@ -401,8 +401,10 @@ internal object BadCaseManager : LifecycleEventObserver, IMoGoAutopilotRecordLis
|
||||
|
||||
override fun onDataChanged(category: MsgCategory, msgBoxList: MsgBoxBean) {
|
||||
if(category == MsgCategory.SYS_INFO){
|
||||
//上报
|
||||
BadCaseConfig.newReportEntity = msgBoxList.bean as ReportEntity
|
||||
if(msgBoxList.type == MsgBoxType.REPORT){
|
||||
//上报
|
||||
BadCaseConfig.newReportEntity = msgBoxList.bean as ReportEntity
|
||||
}
|
||||
}else if(category == MsgCategory.FM_INFO){
|
||||
//FM
|
||||
BadCaseConfig.newFMInfoMsg = msgBoxList.bean as FMInfoMsg
|
||||
|
||||
@@ -11,6 +11,7 @@ import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotControlManager
|
||||
import com.mogo.eagle.core.function.call.hmi.CallerHmiViewControlListenerManager
|
||||
import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.function.hmi.ui.utils.HmiActionLog
|
||||
import com.mogo.eagle.core.utilcode.util.ThreadUtils
|
||||
|
||||
/**
|
||||
* 雨天模式控件
|
||||
@@ -45,10 +46,12 @@ class RainModeView @JvmOverloads constructor(
|
||||
|
||||
override fun updateFuncMode(tag: String, boolean: Boolean) {
|
||||
if(tag == FUNC_MODE_RAIN){
|
||||
background = if(FunctionBuildConfig.isRainMode){
|
||||
this.context.getDrawable(R.drawable.rain_mode_open)
|
||||
}else{
|
||||
this.context.getDrawable(R.drawable.rain_mode)
|
||||
ThreadUtils.runOnUiThread {
|
||||
background = if(FunctionBuildConfig.isRainMode){
|
||||
this.context.getDrawable(R.drawable.rain_mode_open)
|
||||
}else{
|
||||
this.context.getDrawable(R.drawable.rain_mode)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user