add log manager of callchat
This commit is contained in:
@@ -1065,8 +1065,10 @@ class DebugSettingView @JvmOverloads constructor(
|
||||
val name = map.value.name
|
||||
val log = map.value.log
|
||||
when (name) {
|
||||
////ADAS日志标签
|
||||
//ADAS日志标签
|
||||
SceneConstant.M_ADAS_IMPL -> cbAdasLog.isChecked = log
|
||||
//CALLCHAT日志标签
|
||||
SceneConstant.M_CHAT -> cbCallChatLog.isChecked = log
|
||||
//OBU日志标签
|
||||
SceneConstant.M_OBU -> cbObuLog.isChecked = log
|
||||
//HMI日志标签
|
||||
@@ -1151,6 +1153,12 @@ class DebugSettingView @JvmOverloads constructor(
|
||||
sceneMap[SceneConstant.M_ADAS_IMPL] = adasModule
|
||||
CallerDevaToolsManager.updateModuleTAG(sceneMap)
|
||||
}
|
||||
//CALLCHAT日志标签
|
||||
cbCallChatLog.setOnCheckedChangeListener { _, isChecked ->
|
||||
val callChatModule = SceneModule(isChecked, SceneConstant.M_CHAT)
|
||||
sceneMap[SceneConstant.M_CHAT] = callChatModule
|
||||
CallerDevaToolsManager.updateModuleTAG(sceneMap)
|
||||
}
|
||||
//OBU日志标签
|
||||
cbObuLog.setOnCheckedChangeListener { _, isChecked ->
|
||||
val obuModule = SceneModule(isChecked, SceneConstant.M_OBU)
|
||||
|
||||
@@ -1845,6 +1845,14 @@
|
||||
android:checked="false"
|
||||
android:text="ADAS日志" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbCallChatLog"
|
||||
style="@style/DebugSettingText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="false"
|
||||
android:text="CallChat日志" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbObuLog"
|
||||
style="@style/DebugSettingText"
|
||||
|
||||
Reference in New Issue
Block a user