From 3da3ed7e7c0108f1180e33243fdabc21db2086ca Mon Sep 17 00:00:00 2001 From: Chumva Date: Wed, 20 Mar 2019 15:53:12 +0200 Subject: [PATCH] Remove unnecessary changes --- .../net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java | 1 - OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java index 84879a33cd..66332843d6 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java @@ -705,7 +705,6 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener routingHelper.setAppMode(next); app.initVoiceCommandPlayer(mapActivity, next, true, null, false, false); routingHelper.recalculateRouteDueToSettingsChange(); - setRouteCalculationInProgress(true); WeakReference fragmentRef = findMenuFragment(); MapRouteInfoMenuFragment fragment = fragmentRef != null ? fragmentRef.get() : null; diff --git a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java index c17aedc47c..6a0f46a52e 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java +++ b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java @@ -1,12 +1,12 @@ package net.osmand.plus.routing; -import net.osmand.GPXUtilities.GPXFile; import net.osmand.Location; import net.osmand.PlatformUtil; import net.osmand.ValueHolder; import net.osmand.data.LatLon; import net.osmand.plus.ApplicationMode; +import net.osmand.GPXUtilities.GPXFile; import net.osmand.plus.NavigationService; import net.osmand.plus.OsmAndFormatter; import net.osmand.plus.OsmandApplication;