From 6982daa2af31cca7d88b0ebb9d53555e8bfc170b Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 30 Mar 2012 13:18:34 +0200 Subject: [PATCH] backout earlier commit to test occasional route not recaluated issue --- OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java index 4c8036b571..f77eb52b1e 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java +++ b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java @@ -316,7 +316,7 @@ public class RoutingHelper { } } - public synchronized void tryMarkPassedRoute(Location currentLocation) { + public void tryMarkPassedRoute(Location currentLocation) { // 1. try to mark passed route (move forward) float dist = currentLocation.distanceTo(routeNodes.get(currentRoute)); while(currentRoute + 1 < routeNodes.size()){ @@ -366,7 +366,7 @@ public class RoutingHelper { } } - public synchronized void directionDetection(Location currentLocation) { + public void directionDetection(Location currentLocation) { makeUturnWhenPossible = false; suppressTurnPrompt = false; if(finalLocation == null || currentLocation == null){