Revert to default turn type (straight)

This commit is contained in:
Victor Shcherb 2014-10-26 18:09:12 +01:00
parent 86fdc5f16a
commit ee57d4d282

View file

@ -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]);