From 1db622a99a03331e1e4acd3cf3215f32fe484c86 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 29 Sep 2018 21:34:46 +0200 Subject: [PATCH] Fix compilation --- .../net/osmand/plus/activities/search/SearchPOIActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java index b9ccc73dfa..5da047842b 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java @@ -868,7 +868,7 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa switch (itemId) { case android.R.id.home: if (getIntent().hasExtra(MapActivity.INTENT_KEY_PARENT_MAP_ACTIVITY)) { - Intent newIntent = new Intent(this, app.getAppCustomization().getSearchActivity()); + Intent newIntent = new Intent(this, SearchActivity.class); if (location != null) { newIntent.putExtra(SearchActivity.SEARCH_LAT, location.getLatitude()); newIntent.putExtra(SearchActivity.SEARCH_LON, location.getLongitude());