From b917ff286eed8b97ea2d6a4c782a6aafcb00f82b Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 25 Jul 2013 00:06:01 +0200 Subject: [PATCH] Make feature off route global --- OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java index 7cc8aa77a6..8e7c27ee87 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java +++ b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java @@ -228,7 +228,7 @@ public class RoutingHelper { log.info("Recalculate route, because correlation : " + dist); //$NON-NLS-1$ calculateRoute = true; } - if(dist > 350 && currentGPXRoute != null) { + if(dist > 350) { voiceRouter.announceOffRoute(dist); } }