[8.5.0]
[singapore] [调试页面]
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
* 自动驾驶检测
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user