From 4566cadb755fca6b1392064a5da6871e77a6bd09 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 17 Jul 2011 10:58:28 -0700 Subject: [PATCH] First shot at Issue 493 --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index df8784db64..48b0a0b247 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -1003,8 +1003,12 @@ public class MapActivity extends Activity implements IMapLocationListener, Senso mapLayers.openLayerSelectionDialog(mapView); return true; case R.id.map_specify_point: - NavigatePointActivity dlg = new NavigatePointActivity(this); - dlg.showDialog(); + // next 2 lines replaced for Issue 493, replaced by new 3 lines + // NavigatePointActivity dlg = new NavigatePointActivity(this); + // dlg.showDialog(); + Intent newIntent = new Intent(MapActivity.this, SearchActivity.class); + newIntent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); + startActivity(newIntent); return true; case R.id.map_mute: routingHelper.getVoiceRouter().setMute(