From 73021a06ab05a8393e8bc6c229281b73d177b256 Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 21 May 2016 19:24:37 +0200 Subject: [PATCH] Test build exporing non-speakable turns --- .../net/osmand/plus/routing/RouteCalculationResult.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java b/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java index 78afc59c3d..4e42f55e24 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java +++ b/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java @@ -813,9 +813,11 @@ public class RouteCalculationResult { cacheAgreggatedDirections = new ArrayList(); RouteDirectionInfo p = null; for(RouteDirectionInfo i : list) { - if(p == null || !i.getTurnType().isSkipToSpeak() || - (!Algorithms.objectEquals(p.getRef(), i.getRef()) && - !Algorithms.objectEquals(p.getStreetName(), i.getStreetName()))) { +// if(p == null || !i.getTurnType().isSkipToSpeak() || +// (!Algorithms.objectEquals(p.getRef(), i.getRef()) && +// !Algorithms.objectEquals(p.getStreetName(), i.getStreetName()))) { +// Just a temporary test + if(p == null || !i.getTurnType().isSkipToSpeak()) { p = new RouteDirectionInfo(i.getAverageSpeed(), i.getTurnType()); p.routePointOffset = i.routePointOffset; p.routeEndPointOffset = i.routeEndPointOffset;