[RoutingOpt]修正车前引导线拖尾问题

[RouterOpt]优化代码逻辑
This commit is contained in:
renwj
2022-04-15 19:37:07 +08:00
parent f184dce4a2
commit 14d32eef0a
16 changed files with 472 additions and 240 deletions

View File

@@ -115,7 +115,7 @@ public class ALocationClient implements IMogoLocationClient {
}
Trace.beginSection( "timer.onLocationChanged" );
mLastLocation = ObjectUtils.fromLocation( location );
UiThreadHandler.post(() -> CallerMapLocationListenerManager.INSTANCE.invokeMapLocationChangeListener(mLastLocation));
UiThreadHandler.post(() -> CallerMapLocationListenerManager.INSTANCE.invokeMapLocationChangeListener(mLastLocation, 0));
Set< IMogoLocationListener > listeners = MogoLocationListenerRegister.getInstance().getListeners();
synchronized ( listeners ) {