Fix issue #1945 -requires additional testing and cherry-picking to r2.2

This commit is contained in:
Victor Shcherb 2015-11-24 01:45:20 +01:00
parent fbaba5997b
commit cf2fb85978

View file

@ -511,9 +511,9 @@ public abstract class SearchByNameAbstractActivity<T> 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);
}
}