From 6c2d1e43a32f2328c70b1af52aae298b613c80d1 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 29 May 2018 23:27:26 +0200 Subject: [PATCH] Fix double progress --- OsmAnd-java/src/net/osmand/router/RoutePlannerFrontEnd.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd-java/src/net/osmand/router/RoutePlannerFrontEnd.java b/OsmAnd-java/src/net/osmand/router/RoutePlannerFrontEnd.java index a1bd30cfb7..a466144693 100644 --- a/OsmAnd-java/src/net/osmand/router/RoutePlannerFrontEnd.java +++ b/OsmAnd-java/src/net/osmand/router/RoutePlannerFrontEnd.java @@ -177,6 +177,7 @@ public class RoutePlannerFrontEnd { if (routeDirection != null) { ctx.precalculatedRouteDirection = routeDirection.adopt(ctx); } + ctx.calculationProgress.iteration++; List res = runNativeRouting(ctx, recalculationEnd); if (res != null) { new RouteResultPreparation().printResults(ctx, start, end, res);