Merge branch 'dev_minibus-d_230425_3.2.0' of gitlab.zhidaoauto.com:SCA/L4HA/AndroidApp/MoGoEagleEye into dev_minibus-d_230425_3.2.0

This commit is contained in:
lixiaopeng
2023-05-29 17:18:12 +08:00

View File

@@ -80,13 +80,14 @@ class MapPointCloudSubscriber private constructor()
fun isDrawCloudPointDockerVersion(): Boolean {
// 由于Docker命名规则不统一但核心版本是统一但采用"."分割,如下
// MAP-taxi_RoboTaxi_Default_2.2.0_badcasetest_20220215_dev
// MAP_RoboBus_B1_3.3.0_lxw_20230526_old_dev
val dockerVersionName = AppConfigInfo.dockerVersion
// "." 分割,取前两位
val dockerVersionNameArray = dockerVersionName?.split(".")
var dockerVersionCode = ""
dockerVersionNameArray?.let {
if (it.size > 3) {
if (it.size >= 3) {
for (index in 0 until 3) {
dockerVersionCode +=
when (index) {
@@ -110,10 +111,10 @@ class MapPointCloudSubscriber private constructor()
0
}
if (dockerVersion >= 260) {
return true
if (dockerVersion <= 260) {
return false
}
return false
return true
}