Temporarily disable adding selected village to City list to see if this fixes an issue

This commit is contained in:
sonora 2015-01-14 11:19:41 +01:00
parent 31c7edc00b
commit ce2300b54e

View file

@ -173,9 +173,10 @@ public class SearchCityByNameActivity extends SearchByNameAbstractActivity<City>
@Override @Override
public void itemSelected(City obj) { public void itemSelected(City obj) {
settings.setLastSearchedCity(obj.getId(), obj.getName(region.useEnglishNames()), obj.getLocation()); settings.setLastSearchedCity(obj.getId(), obj.getName(region.useEnglishNames()), obj.getLocation());
if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) { //Temporarily disable this to see if it fixes an issue
region.addCityToPreloadedList((City) obj); // if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) {
} // region.addCityToPreloadedList((City) obj);
// }
quitActivity(SearchStreetByNameActivity.class); quitActivity(SearchStreetByNameActivity.class);
} }