From ee57d4d282d60f8cf12d02af411f2f83a97c91f9 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 26 Oct 2014 18:09:12 +0100 Subject: [PATCH] Revert to default turn type (straight) --- .../plus/views/mapwidgets/RouteInfoWidgetsFactory.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java index 5a59193bf6..8c19b13e2d 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java @@ -585,11 +585,7 @@ public class RouteInfoWidgetsFactory { int turnType; if ((lanes[i] & 1) == 1) { paintRouteDirection.setColor(imminent ? getResources().getColor(R.color.nav_arrow_imminent) : getResources().getColor(R.color.nav_arrow)); - if(TurnType.getPrimaryTurn(lanes[i]) == 0) { - turnType = turn.getValue(); - } else { - turnType = TurnType.getPrimaryTurn(lanes[i]); - } + turnType = TurnType.getPrimaryTurn(lanes[i]); } else { paintRouteDirection.setColor(getResources().getColor(R.color.nav_arrow_distant)); turnType = TurnType.getPrimaryTurn(lanes[i]);