ad upgrade
fix bug
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user