From 93f05e43634385fc54292f590bf19ac27935f3a7 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Tue, 2 Aug 2016 17:07:50 +0300 Subject: [PATCH] Fix dest test --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index ffc40a57d8..e6268796ec 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -567,13 +567,10 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven app.getDownloadThread().setUiActivity(this); - //if (mapViewTrackingUtilities.getShowRouteFinishDialog()) { + if (mapViewTrackingUtilities.getShowRouteFinishDialog()) { DestinationReachedMenu.show(this); - //mapViewTrackingUtilities.setShowRouteFinishDialog(false); - //} - DestinationReachedMenu.show(this); - DestinationReachedMenu.show(this); - DestinationReachedMenu.show(this); + mapViewTrackingUtilities.setShowRouteFinishDialog(false); + } routingHelper.addListener(this); app.getMapMarkersHelper().addListener(this);