调试窗

版本信息模块去掉一些次要信息
This commit is contained in:
xuxinchao
2022-04-28 19:21:16 +08:00
parent a501bf2479
commit 3f5459fd0f
2 changed files with 0 additions and 68 deletions

View File

@@ -111,9 +111,6 @@ class DebugSettingView @JvmOverloads constructor(
// 全局路径规划点个数
private var mRouteInfoSize = 0
//当前PAD支持的CPU架构
private var cpuList = "CPU架构"
//日志过滤标签集合
private val sceneMap = mutableMapOf<String, SceneModule>()
@@ -276,12 +273,6 @@ class DebugSettingView @JvmOverloads constructor(
}
}
for (element in DeviceUtils.getABIs()) {
cpuList = "$cpuList$element "
}
tvCPUFrameworkInfo.text = cpuList
/**
* 控制中心
*/
@@ -1455,8 +1446,6 @@ class DebugSettingView @JvmOverloads constructor(
* 版本信息
*/
tvAppVersionName.text = "鹰眼版本名:${AppUtils.getAppVersionName()}"
tvAppVersionCode.text = "鹰眼版本号:${AppUtils.getAppVersionCode()}"
tvObuSdkVersion.text = "OBU-SDK版本${AppConfigInfo.obuSdkVersion}"
tvAutopilotProtocolVersionInfo.text =
"Autopilot协议版本${CallerAutoPilotManager.getProtocolVersion()}"
if(AppConfigInfo.protocolVersionNumber==0){
@@ -1467,8 +1456,6 @@ class DebugSettingView @JvmOverloads constructor(
tvMoGoMapVersion.text = "HD-Map版本${MogoMap.getInstance().mogoMap.mapVersion}"
tvGitBranchInfo.text = "Git分支${AppConfigInfo.workingBranchName}"
tvAppBuildTimeInfo.text = "版本构建时间:${AppConfigInfo.appBuildTime}"
tvGitHashInfo.text = "Git-Hash${AppConfigInfo.workingBranchHash}"
tvAndroidSystemVersion.text = "Android系统版本" + DeviceUtils.getSDKVersionName()
/**
* 状态中心

View File

@@ -271,28 +271,6 @@
android:layout_height="1dp"
android:background="#F0F0F0" />
<TextView
android:id="@+id/tvAppVersionCode"
style="@style/DebugSettingText"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#F0F0F0" />
<TextView
android:id="@+id/tvObuSdkVersion"
style="@style/DebugSettingText"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#F0F0F0" />
<TextView
android:id="@+id/tvAutopilotProtocolVersionInfo"
style="@style/DebugSettingText"
@@ -348,39 +326,6 @@
android:layout_height="1dp"
android:background="#F0F0F0" />
<TextView
android:id="@+id/tvGitHashInfo"
style="@style/DebugSettingText"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#F0F0F0" />
<TextView
android:id="@+id/tvAndroidSystemVersion"
style="@style/DebugSettingText"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#F0F0F0" />
<TextView
android:id="@+id/tvCPUFrameworkInfo"
style="@style/DebugSettingText"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#F0F0F0" />
</LinearLayout>
<ToggleButton