better suppress wrong turn instructions, but still one small bug remains

This commit is contained in:
sonora 2012-02-19 10:42:30 +01:00
parent 42a062ebc8
commit d4d8aff50e

View file

@ -386,11 +386,11 @@ public class RoutingHelper {
} }
} }
} }
if (suppressTurnPrompt == false && calculateRoute == false) {
voiceRouter.updateStatus(currentLocation, makeUturnWhenPossible);
}
} }
} }
if (suppressTurnPrompt == false) {
voiceRouter.updateStatus(currentLocation, makeUturnWhenPossible);
}
lastFixedLocation = currentLocation; lastFixedLocation = currentLocation;
if(calculateRoute){ if(calculateRoute){
recalculateRouteInBackground(lastFixedLocation, finalLocation, currentGPXRoute); recalculateRouteInBackground(lastFixedLocation, finalLocation, currentGPXRoute);