[3.4.0][Fix]解决anr问题
This commit is contained in:
@@ -14,9 +14,9 @@ object CacheHDMapManager {
|
||||
|
||||
fun scheduleGetLocation() {
|
||||
if (!AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
ThreadUtils.getIoPool().execute {
|
||||
mogoMapData.get()?.isCityDataCached {
|
||||
if(!it){
|
||||
mogoMapData.get()?.isCityDataCached {
|
||||
if (!it) {
|
||||
ThreadUtils.getIoPool().execute {
|
||||
while (true) {
|
||||
val loc =
|
||||
CallerChassisLocationWGS84ListenerManager.getChassisLocationWGS84()
|
||||
@@ -40,9 +40,9 @@ object CacheHDMapManager {
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
}
|
||||
}else{
|
||||
CallerLogger.i(M_MAP + TAG, "高精地图缓存已下载!")
|
||||
}
|
||||
} else {
|
||||
CallerLogger.i(M_MAP + TAG, "高精地图缓存已下载!")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user