#9853 fix calc time in android

This commit is contained in:
MadWasp79 2020-10-01 14:03:06 +03:00
parent 02b9af6782
commit b594076f14

View file

@ -739,7 +739,7 @@ public class RoutePlannerFrontEnd {
res = searchRouteImpl(ctx, points, routeDirection); res = searchRouteImpl(ctx, points, routeDirection);
} }
if (ctx.calculationProgress != null) { if (ctx.calculationProgress != null) {
ctx.calculationProgress.timeToCalculate += (System.nanoTime() - timeToCalculate); ctx.calculationProgress.timeToCalculate = (System.nanoTime() - timeToCalculate);
} }
BinaryRoutePlanner.printDebugMemoryInformation(ctx); BinaryRoutePlanner.printDebugMemoryInformation(ctx);
if (res != null) { if (res != null) {