[singapore]
[调试页面]
This commit is contained in:
yangyakun
2026-04-14 18:38:45 +08:00
parent 5699271a9d
commit 62b37cf4ec
2 changed files with 23 additions and 3 deletions

View File

@@ -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. 创建 Intentaction 必须和你定义的一模一样!
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)
}
/**
* 自动驾驶检测

View File

@@ -2317,6 +2317,16 @@
android:textSize="@dimen/dp_24"
android:visibility="invisible"
/>
<Button
android:id="@+id/btnCubisc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="@dimen/dp_20"
android:text="B4前后屏"
android:textSize="@dimen/dp_24"
android:layout_marginStart="@dimen/dp_20"
/>
</LinearLayout>
<ToggleButton
android:id="@+id/tbLogcatCenter"