From b8513bd145912e7ca996950d72b11214aedea627 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Mon, 24 Feb 2014 01:23:13 +0100 Subject: [PATCH] Fix left time and time to go in display route mode --- .../osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java index db6ce04a84..cd04ea9b51 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java @@ -233,10 +233,10 @@ public class RouteInfoWidgetsFactory { public boolean updateInfo(DrawSettings drawSettings) { int time = 0; if (routingHelper != null && routingHelper.isRouteCalculated()) { - boolean followingMode = routingHelper.isFollowingMode(); + //boolean followingMode = routingHelper.isFollowingMode(); time = routingHelper.getLeftTime(); if (time != 0) { - if (followingMode && showArrival.get()) { + if (/*followingMode && */showArrival.get()) { long toFindTime = time * 1000 + System.currentTimeMillis(); if (Math.abs(toFindTime - cachedLeftTime) > 30000) { cachedLeftTime = toFindTime;