Merge branch 'renwj/fix_code' into 'dev_MogoAP_eagle-1030_211020_8.0.14'
[Fix]解决ALocationClien定位信息因为使用实时上传的时候当接入工控机位置回调信息会丢失 See merge request zhjt/AndroidApp/MoGoEagleEye!2
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.mogo.eagle.core.function.call.map
|
||||
|
||||
import com.mogo.eagle.core.data.constants.MogoServicePaths
|
||||
import com.mogo.eagle.core.function.api.map.location.IMoGoLocationUpdater4AutoPilot
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
|
||||
object CallerLocationUpdaterManager {
|
||||
|
||||
private val updater : IMoGoLocationUpdater4AutoPilot? by lazy {
|
||||
CallerBase.getApiInstance(
|
||||
IMoGoLocationUpdater4AutoPilot::class.java,
|
||||
MogoServicePaths.PATH_MAP_LOCATION_UPDATE_4_AUTO_PILOT)
|
||||
}
|
||||
|
||||
fun updateLocation(location: Any?) {
|
||||
updater?.updateLocation(location);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user