Fix issue 1791

This commit is contained in:
Victor Shcherb 2013-04-18 09:47:02 +02:00
parent 7760e3e201
commit 3105d523e4

View file

@ -472,6 +472,7 @@ public class MapActivity extends AccessibleActivity {
public void followRoute(ApplicationMode appMode, LatLon finalLocation, List<LatLon> intermediatePoints, net.osmand.Location currentLocation, GPXRouteParams gpxRoute){
getMapViewTrackingUtilities().backToLocationImpl();
RoutingHelper routingHelper = app.getRoutingHelper();
settings.APPLICATION_MODE.set(appMode);
settings.FOLLOW_THE_ROUTE.set(true);