reverse 2 statements to see if this fixes issue with duplicate close turn prompts upon new route calulated

This commit is contained in:
sonora 2015-09-06 15:38:43 +02:00
parent 3d7f6ed8d4
commit cc45b56bde

View file

@ -498,8 +498,8 @@ public class MapControlsLayer extends OsmandMapLayer {
routingHelper.setFollowingMode(true);
routingHelper.setRoutePlanningMode(false);
mapActivity.getMapViewTrackingUtilities().switchToRoutePlanningMode();
routingHelper.setCurrentLocation(app.getLocationProvider().getLastKnownLocation(), false);
app.getRoutingHelper().notifyIfRouteIsCalculated();
routingHelper.setCurrentLocation(app.getLocationProvider().getLastKnownLocation(), false);
}
}
}