From 808f85dfcd92027f20dd4583b9c71e25e8bc3583 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 14 Jun 2013 00:08:51 +0200 Subject: [PATCH] directions should not delete waypoints (2nd) --- OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index b0e1e6d1bf..e2846ffe21 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -1259,10 +1259,6 @@ public class MapActivityActions implements DialogProvider { //targetPointsHelper.setSingleDestination(location.getLatitude(), location.getLongitude(), name); getMyApplication().getSettings().setPointToNavigate(location.getLatitude(), location.getLongitude(), true, name); targetPointsHelper.updatePointsFromSettings(); - // always enable and follow and let calculate it (GPS is not accessible in garage) - if(!routingHelper.isRouteBeingCalculated() && !routingHelper.isRouteCalculated() ) { - getDirections(null, new LatLon(latitude, longitude), true); - } MapActivity.launchMapActivityMoveToTop(activity); qa.dismiss(); }