backout earlier commit to test occasional route not recaluated issue

This commit is contained in:
sonora 2012-03-30 13:18:34 +02:00
parent f77da0a856
commit 6982daa2af

View file

@ -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){