ad upgrade

fix bug
This commit is contained in:
xuxinchao
2022-02-14 16:53:51 +08:00
parent 17fed31d33
commit 3b014cae97
2 changed files with 1 additions and 7 deletions

View File

@@ -62,12 +62,6 @@ class SystemVersionView @JvmOverloads constructor(
//鹰眼版本视图点击事件
ivPadVersion.setOnClickListener {
Logger.i(TAG,"pad version view clicked")
if(autopilotStatus==2){
//当前处于自动驾驶状态不可进行升级Toast提示
ToastUtils.showShort("升级前请先退出自动驾驶模式autopilotStatus="+autopilotStatus)
}else{
ToastUtils.showShort("当前不是自动驾驶模式autopilotStatus="+autopilotStatus)
}
}
//工控机版本视图点击事件
ivAdVersion.setOnClickListener {

View File

@@ -108,7 +108,7 @@
<TextView
android:id="@+id/tvAdVersionContent"
android:layout_width="wrap_content"
android:layout_width="200px"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="@id/ivAdVersion"
app:layout_constraintRight_toRightOf="@id/ivAdVersion"