Backout Workaround: Interestingly: the reliably CAUSED Issue2535
This commit is contained in:
parent
81767bcfaa
commit
ee9846d388
1 changed files with 0 additions and 10 deletions
|
@ -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<City>
|
|||
protected void reset() {
|
||||
//searchVillagesMode = -1;
|
||||
//osmandSettings.setLastSearchedCity(-1L, "", null);
|
||||
|
||||
//Issue 2535: Try reload indexes as workaround
|
||||
new AsyncTask<Void, Void, List<String>>() {
|
||||
@Override
|
||||
protected List<String> doInBackground(Void... params) {
|
||||
return getMyApplication().getResourceManager().reloadIndexes(IProgress.EMPTY_PROGRESS);
|
||||
}
|
||||
}.execute();
|
||||
|
||||
super.reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue