[2.15.0] 优化obu升级

This commit is contained in:
lixiaopeng
2023-04-21 14:51:38 +08:00
parent 820c2fc0ac
commit aacc17446d
3 changed files with 15 additions and 36 deletions

View File

@@ -152,7 +152,6 @@ internal class DebugSettingView @JvmOverloads constructor(
//OBU连接状态
private var obuConnectStatus: Boolean = false
private var mObuInfoStr: String = ""
//渠道包标签
private var onlineSelected: Boolean = true
@@ -1688,8 +1687,6 @@ internal class DebugSettingView @JvmOverloads constructor(
} else {
tbIsDemoMode?.text = "开启美化模式"
}
//obu信息排查obu相关问题使用
tvObuInfoContent.text = mObuInfoStr
obuConnectStatusTv.text = Html.fromHtml(
"OBU连接状态${
@@ -2106,7 +2103,10 @@ internal class DebugSettingView @JvmOverloads constructor(
override fun onGetObuInfo(obuInfoStr: String?) {
obuInfoStr?.let {
mObuInfoStr = it
//obu信息排查obu相关问题使用
UiThreadHandler.post {
tvObuInfoContent.text = it
}
}
}
}