From a0f7a24d7e4908c49754e932ebbb47bbb7809d4e Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 25 Aug 2014 23:56:36 +0200 Subject: [PATCH] try fix bug with orphaned "and arrive at your destination" prompt. --- OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java index 1012b7c0a2..ba03db5bc7 100644 --- a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java +++ b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java @@ -442,8 +442,8 @@ public class VoiceRouter { // do not play prepare for keep left/right } else { playPrepareTurn(currentSegment, next, dist); + playAndArriveAtDestination(repeat, nextInfo, currentSegment); } - playAndArriveAtDestination(repeat, nextInfo, currentSegment); } nextStatusAfter(STATUS_PREPARE); // } else if (statusNotPassed(STATUS_LONG_PREPARE) && isDistanceLess(speed, dist, PREPARE_LONG_DISTANCE)){