[6.2.4] fix bug of sound play helper , devices extends lenovo , npl of map init
This commit is contained in:
@@ -36,12 +36,12 @@ class MogoMap private constructor() {
|
||||
/**
|
||||
* 业务使用时根据地图是否加载来判定 是否获取IMogoMap实例
|
||||
*/
|
||||
fun getMogoMap(instance: String = DEFAULT): IMogoMap {
|
||||
fun getMogoMap(instance: String = DEFAULT): IMogoMap? {
|
||||
return if (mapCache[instance] == null) {
|
||||
CallerLogger.e("$M_MAP$TAG", "getMogoMap func has error with no instance in mapCache")
|
||||
mapCache[DEFAULT]!!
|
||||
mapCache[DEFAULT]
|
||||
} else {
|
||||
mapCache[instance]!!
|
||||
mapCache[instance]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user