[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)
|
||||
|
||||
@@ -148,7 +148,6 @@ class MapView(context: Context, private val mMapStyleParams: IMapStyleParams, pr
|
||||
|
||||
private val mHandler: Handler = object : Handler(Looper.getMainLooper()) {
|
||||
override fun handleMessage(msg: Message) {
|
||||
Log.d("emArrow-map","handler : $msg")
|
||||
when (msg.what) {
|
||||
ZOOM_CHANGE -> mMapController?.dispatchZoomChanged()
|
||||
ROTATE_CHANGE ->mMapController?.dispatchRotationAngleChanged((msg.obj as Float))
|
||||
|
||||
Reference in New Issue
Block a user