调试窗

版本信息增加版本构建时间
This commit is contained in:
xuxinchao
2022-04-25 19:19:11 +08:00
parent 6d76863eba
commit 382fd6a36b
5 changed files with 27 additions and 0 deletions

View File

@@ -1424,6 +1424,7 @@ 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

@@ -300,6 +300,17 @@
android:layout_height="1dp"
android:background="#F0F0F0" />
<TextView
android:id="@+id/tvAppBuildTimeInfo"
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/tvGitHashInfo"
style="@style/DebugSettingText"