[6.2.0] fix bug of roma
This commit is contained in:
@@ -73,6 +73,9 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
@Volatile
|
||||
private var cloudDataSize = 0
|
||||
|
||||
@Volatile
|
||||
private var inRange = false
|
||||
|
||||
private val handler = Handler(Looper.getMainLooper()) {
|
||||
if (it.what == H_ERROR_CLOUD) {
|
||||
if (!aiCloudDataChange.get()) {
|
||||
@@ -195,6 +198,7 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
"lat" to gnss.latitude
|
||||
), true
|
||||
)
|
||||
inRange = range
|
||||
if (FunctionBuildConfig.romaModeStyle == 1) {
|
||||
return
|
||||
}
|
||||
@@ -366,6 +370,7 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
}
|
||||
if (auto) {
|
||||
FunctionBuildConfig.romaModeStyle = 0
|
||||
invokeRomaViewStatus(inRange)
|
||||
} else {
|
||||
FunctionBuildConfig.romaModeStyle = 1
|
||||
invokeRomaViewStatus(true)
|
||||
|
||||
Reference in New Issue
Block a user