diff options
Diffstat (limited to 'android/src/com/mapswithme/maps/routing')
-rw-r--r-- | android/src/com/mapswithme/maps/routing/RoutingController.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/src/com/mapswithme/maps/routing/RoutingController.java b/android/src/com/mapswithme/maps/routing/RoutingController.java index af50e34f3e..11122935ce 100644 --- a/android/src/com/mapswithme/maps/routing/RoutingController.java +++ b/android/src/com/mapswithme/maps/routing/RoutingController.java @@ -519,12 +519,12 @@ public class RoutingController implements TaxiManager.TaxiListener public void addStop(@NonNull MapObject mapObject) { addRoutePoint(RoutePointInfo.ROUTE_MARK_INTERMEDIATE, mapObject); + trackPointAdd(mapObject, RoutePointInfo.ROUTE_MARK_INTERMEDIATE, isPlanning(), isNavigating(), + false); build(); if (mContainer != null) mContainer.onAddedStop(); backToPlaningStateIfNavigating(); - trackPointAdd(mapObject, RoutePointInfo.ROUTE_MARK_INTERMEDIATE, isPlanning(), isNavigating(), - false); } public void removeStop(@NonNull MapObject mapObject) @@ -535,11 +535,11 @@ public class RoutingController implements TaxiManager.TaxiListener applyRemovingIntermediatePointsTransaction(); Framework.nativeRemoveRoutePoint(info.mMarkType, info.mIntermediateIndex); + trackPointRemove(mapObject, info.mMarkType, isPlanning(), isNavigating(), false); build(); if (mContainer != null) mContainer.onRemovedStop(); backToPlaningStateIfNavigating(); - trackPointRemove(mapObject, info.mMarkType, isPlanning(), isNavigating(), false); } private void backToPlaningStateIfNavigating() |