From dce47b6744c98f4502c97bdd8bab3d0409051f49 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 20 May 2016 19:11:47 +0200 Subject: [PATCH] remove obsolete comments --- .../views/mapwidgets/RouteInfoWidgetsFactory.java | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java index 6e0de8b943..41f090cf23 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java @@ -150,15 +150,10 @@ public class RouteInfoWidgetsFactory { NextDirectionInfo r = routingHelper.getNextRouteDirectionInfo(calc1, true); if (!deviatedFromRoute) { if (r != null) { - // next turn is very close (show next next with false to speak) -// if (r.imminent >= 0 && r.imminent < 2) { -// r = routingHelper.getNextRouteDirectionInfoAfter(r, calc1, false); -// } else { - r = routingHelper.getNextRouteDirectionInfo(calc1, true); - if (r != null) { - r = routingHelper.getNextRouteDirectionInfoAfter(r, calc1, true); - } -// } + r = routingHelper.getNextRouteDirectionInfo(calc1, true); + if (r != null) { + r = routingHelper.getNextRouteDirectionInfoAfter(r, calc1, true); + } } } if (r != null && r.distanceTo > 0&& r.directionInfo != null) {