See if this fixes route-recalculation if settings change during ongoing calculation

This commit is contained in:
sonora 2015-01-08 00:23:48 +01:00
parent 23aab4df5e
commit 1e314b481c

View file

@ -772,6 +772,8 @@ public class RoutingHelper {
}
public void recalculateRouteDueToSettingsChange() {
//See if this fixes route-recalculation if settings change during ongoing calculation
clearCurrentRoute(finalLocation, intermediatePoints);
recalculateRouteInBackground(true, lastFixedLocation, finalLocation, intermediatePoints, currentGPXRoute, route,
true, false);
}