try remove remaining false route-recaluated prompts

This commit is contained in:
sonora 2012-03-19 12:58:23 +01:00
parent d902232126
commit 127d77e70d

View file

@ -416,7 +416,11 @@ public class RoutingHelper {
currentRoute = 0; currentRoute = 0;
currentDirectionInfo = 0; currentDirectionInfo = 0;
if(isFollowingMode){ if(isFollowingMode){
tryMarkPassedRoute(start); //tryMarkPassedRoute(start);
// try remove false route-recaluated prompts by checking direction to second route node
if(routeNodes.size() > 1){
currentRoute = 1;
}
directionDetection(start); directionDetection(start);
// set/reset evalWaitInterval only if new route is in forward direction // set/reset evalWaitInterval only if new route is in forward direction