diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt
index 566b2fe3cf..0a6857f7b5 100644
--- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt
+++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt
@@ -158,6 +158,7 @@ import kotlinx.android.synthetic.main.view_debug_setting.view.btnAutoCheck
import kotlinx.android.synthetic.main.view_debug_setting.view.btnBrakeThreshold
import kotlinx.android.synthetic.main.view_debug_setting.view.btnClearMap
import kotlinx.android.synthetic.main.view_debug_setting.view.btnConnectServerIp
+import kotlinx.android.synthetic.main.view_debug_setting.view.btnCubisc
import kotlinx.android.synthetic.main.view_debug_setting.view.btnDeleteDB
import kotlinx.android.synthetic.main.view_debug_setting.view.btnDisconnectIpc
import kotlinx.android.synthetic.main.view_debug_setting.view.btnDrawFusion
@@ -165,9 +166,6 @@ import kotlinx.android.synthetic.main.view_debug_setting.view.btnEnsureMap
import kotlinx.android.synthetic.main.view_debug_setting.view.btnFmd
import kotlinx.android.synthetic.main.view_debug_setting.view.btnHdVisualAdjust
import kotlinx.android.synthetic.main.view_debug_setting.view.btnIpcReboot
-import kotlinx.android.synthetic.main.view_debug_setting.view.btnLanguageChinese
-import kotlinx.android.synthetic.main.view_debug_setting.view.btnLanguageEnglish
-import kotlinx.android.synthetic.main.view_debug_setting.view.btnLanguageFollowSystem
import kotlinx.android.synthetic.main.view_debug_setting.view.btnPassengerReboot
import kotlinx.android.synthetic.main.view_debug_setting.view.btnPointCloudColor
import kotlinx.android.synthetic.main.view_debug_setting.view.btnPointCloudSize
@@ -862,6 +860,18 @@ internal class DebugSettingView @JvmOverloads constructor(
ChangeDefaultConfigDialog(ActivityUtils.getTopActivity()).show()
true
}
+ btnCubisc.onClick {
+ // 1. 创建 Intent,action 必须和你定义的一模一样!
+ val intent = Intent("com.mogo.launcher.debug")
+ // 2. 必须加上 category(你配置里写了,所以要加)
+ intent.setClassName(
+ "com.mogo.launcher.f", // 接收器所在APP包名
+ "com.mogo.och.common.module.debug.BizBroadcastReceiver"
+ )
+ intent.putExtra("type","showDebugView")
+ // 3. 发送广播
+ ActivityUtils.getTopActivity().sendBroadcast(intent)
+ }
/**
* 自动驾驶检测
diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml
index e78d5fc6e6..f18e666d84 100644
--- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml
+++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml
@@ -2317,6 +2317,16 @@
android:textSize="@dimen/dp_24"
android:visibility="invisible"
/>
+