[6.7.0][build] 修正打包失败问题

This commit is contained in:
renwj
2024-10-18 10:40:55 +08:00
parent 0a1104e48f
commit 4f1eeff979
2 changed files with 5 additions and 15 deletions

View File

@@ -1,8 +1,6 @@
package com.mogo.eagle.core.data.config
import com.mogo.eagle.core.data.R
import com.mogo.eagle.core.data.enums.Carmodel
import kotlin.properties.Delegates
/**
* @author xiaoyuzhou
@@ -14,9 +12,9 @@ object HdMapBuildConfig {
* 自车模型(默认是出租车)
* 可以指定R.raw.chuzucheR.raw.xiaobacheR.raw.hongqi
*/
var currentCarVrIconRes by Delegates.observable(R.raw.hq_h9) { _, _, newValue ->
carModel = Carmodel.values().find { it.resId == newValue }
}
@Volatile
@JvmField
var currentCarVrIconRes = R.raw.hq_h9
/**
* 地图 DEFAULT 是否加载成功
@@ -26,12 +24,4 @@ object HdMapBuildConfig {
@JvmField
var isMapLoaded = false
/**
* 表示当前车机数据实体
*/
@Volatile
@JvmField
var carModel: Carmodel? = null
}