From cf2fb859783e21b0d1008addf7484f98b745341f Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 24 Nov 2015 01:45:20 +0100 Subject: [PATCH] Fix issue #1945 -requires additional testing and cherry-picking to r2.2 --- .../plus/activities/search/SearchByNameAbstractActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchByNameAbstractActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchByNameAbstractActivity.java index 0203476414..5d7b057c72 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchByNameAbstractActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchByNameAbstractActivity.java @@ -511,9 +511,9 @@ public abstract class SearchByNameAbstractActivity extends OsmandListActivity if(cintent.hasExtra(SearchActivity.SEARCH_LAT) && cintent.hasExtra(SearchActivity.SEARCH_LON)){ intent.putExtra(SearchActivity.SEARCH_LAT, cintent.getDoubleExtra(SearchActivity.SEARCH_LAT, 0)); intent.putExtra(SearchActivity.SEARCH_LON, cintent.getDoubleExtra(SearchActivity.SEARCH_LON, 0)); - intent.putExtra(SELECT_ADDRESS, selectAddress); } } + intent.putExtra(SELECT_ADDRESS, selectAddress); startActivity(intent); } }