From ee9846d388ac8da394c56dfb640359f86657ac68 Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 17 Jan 2015 09:43:45 +0100 Subject: [PATCH] Backout Workaround: Interestingly: the reliably CAUSED Issue2535 --- .../activities/search/SearchCityByNameActivity.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java index a49754b063..ba1b14d736 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java @@ -4,7 +4,6 @@ import java.util.Collection; import java.util.Comparator; import java.util.List; -import net.osmand.IProgress; import net.osmand.CollatorStringMatcher; import net.osmand.CollatorStringMatcher.StringMatcherMode; import net.osmand.OsmAndCollator; @@ -37,15 +36,6 @@ public class SearchCityByNameActivity extends SearchByNameAbstractActivity protected void reset() { //searchVillagesMode = -1; //osmandSettings.setLastSearchedCity(-1L, "", null); - - //Issue 2535: Try reload indexes as workaround - new AsyncTask>() { - @Override - protected List doInBackground(Void... params) { - return getMyApplication().getResourceManager().reloadIndexes(IProgress.EMPTY_PROGRESS); - } - }.execute(); - super.reset(); }