Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorАлександр Зацепин <az@mapswithme.com>2017-08-28 19:14:28 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2017-08-29 00:14:16 +0300
commitcb150223a4cc63e22cccaeeeaa196df7e9f98b87 (patch)
treec72115443802efee97e6086c218c20cd9205adcf
parent1e01b0bd183115e3cfae3a12163695c8c658b3c7 (diff)
[android] Fixed routing statisticsbeta-983
-rw-r--r--android/src/com/mapswithme/maps/routing/RoutingController.java6
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()