From af1d4ae24c5e2c933c3a3a634361ae1ab23c7bd5 Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 13 Jan 2015 02:47:26 +0100 Subject: [PATCH] Remove obsolete test code --- .../net/osmand/plus/views/controls/MapRouteInfoControl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/controls/MapRouteInfoControl.java b/OsmAnd/src/net/osmand/plus/views/controls/MapRouteInfoControl.java index 08ec6c0ccc..853fbe4bd3 100644 --- a/OsmAnd/src/net/osmand/plus/views/controls/MapRouteInfoControl.java +++ b/OsmAnd/src/net/osmand/plus/views/controls/MapRouteInfoControl.java @@ -79,13 +79,9 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio getTargets().navigateToPoint(latlon, true, -1); } else { getTargets().setStartPoint(latlon, true, null); - //TODO: Issue 2515: Re-selecting the "From" or "To" point, or any other route preference during an ongoing route calculation (and only then), and if the "From" point is not "Current position" (and only then), always correctly interrupts the ongoing route calculation, but restarts it exactly EVERY OTHER time only. } contextMenu.setLocation(latlon, null); showDialog(); - //Issue 2515 test code: Try force resuming route re-caculation here if stopped due to Issue 2515 - // interesting: putting one or more of the next lines here destroys the alternating "interrupted route calculation won't re-start" behavior and causes the route calculation to NEVER re-start! - //routingHelper.recalculateRouteDueToSettingsChange(); return true; } return super.onSingleTap(point, tileBox);