[6.7.0] change the toast of app upgrade
This commit is contained in:
@@ -118,7 +118,11 @@ class CarInfoTabView @JvmOverloads constructor(
|
||||
ToastUtils.showShort("正在下载最新版本,请稍候再试...")
|
||||
return@setOnClickListener
|
||||
}
|
||||
CallerDevaToolsManager.queryAppUpgrade()
|
||||
CallerDevaToolsManager.queryAppUpgrade { upgradeStatus, errorInfo ->
|
||||
if (!upgradeStatus && !errorInfo.isNullOrEmpty()) {
|
||||
ToastUtils.showShort(errorInfo)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tvHDMapVersion.text = tvHDMapVersion.text.toString() + DebugConfig.getMapVersion()
|
||||
|
||||
Reference in New Issue
Block a user