[6.2.4] fix bug of sound play helper , devices extends lenovo , npl of map init

This commit is contained in:
zhongchao
2023-12-18 12:01:23 +08:00
parent e60d0bfe38
commit 2d7d9ea25a
7 changed files with 44 additions and 12 deletions

View File

@@ -119,6 +119,11 @@ class AiRoadMarker {
countDown.incrementAndGet()
realMark(marker, wrapper, l1, l2, location.heading)
})
}else{
wrapper.onRemoved = { id ->
aiMakers.remove(id)
}
MarkerRemoveManager.addMarker(wrapper)
}
}
}

View File

@@ -22,7 +22,7 @@ import com.mogo.map.location.IMogoGDLocationClient
class MogoMapService : IMogoMapService {
override fun getMapUIController(mapTag:String): IMogoMapUIController? {
return mapInstance.getMogoMap().uiController
return mapInstance.getMogoMap()?.uiController
}
override fun getOverlayManager(): IMoGoOverlayManager {