[2.15.0] 优化obu升级
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user