diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchBuildingByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchBuildingByNameActivity.java index be93ae9eec..b8f1fff8b3 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchBuildingByNameActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchBuildingByNameActivity.java @@ -38,9 +38,9 @@ public class SearchBuildingByNameActivity extends SearchByNameAbstractActivity @Override protected void reset() { searchVillagesMode = -1; - osmandSettings.setLastSearchedPostcode("", null); - osmandSettings.setLastSearchedCity(0L, "", null); - osmandSettings.setLastSearchedStreet("", null); - osmandSettings.setLastSearchedIntersectedStreet("", null); - osmandSettings.setLastSearchedBuilding("", null); - osmandSettings.setLastSearchedPoint(null); + //osmandSettings.setLastSearchedPostcode("", null); + //osmandSettings.setLastSearchedCity(0L, "", null); + //osmandSettings.setLastSearchedStreet("", null); + //osmandSettings.setLastSearchedIntersectedStreet("", null); + //osmandSettings.setLastSearchedBuilding("", null); + //osmandSettings.setLastSearchedPoint(null); super.reset(); } diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchRegionByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchRegionByNameActivity.java index 35afadf2b3..eacd99e376 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchRegionByNameActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchRegionByNameActivity.java @@ -32,13 +32,13 @@ public class SearchRegionByNameActivity extends SearchByNameAbstractActivity