put settings changes on ice

This commit is contained in:
sonora 2015-01-15 23:39:11 +01:00
parent 153451b5f3
commit 0a42c9d308
5 changed files with 24 additions and 24 deletions

View file

@ -38,9 +38,9 @@ public class SearchBuildingByNameActivity extends SearchByNameAbstractActivity<B
@Override
protected void reset() {
osmandSettings.setLastSearchedIntersectedStreet("", null);
osmandSettings.setLastSearchedBuilding("", null);
osmandSettings.setLastSearchedPoint(null);
//osmandSettings.setLastSearchedIntersectedStreet("", null);
//osmandSettings.setLastSearchedBuilding("", null);
//osmandSettings.setLastSearchedPoint(null);
super.reset();
}

View file

@ -35,12 +35,12 @@ public class SearchCityByNameActivity extends SearchByNameAbstractActivity<City>
@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();
}

View file

@ -32,13 +32,13 @@ public class SearchRegionByNameActivity extends SearchByNameAbstractActivity<Reg
@Override
protected void reset() {
osmandSettings.setLastSearchedRegion("", null);
osmandSettings.setLastSearchedPostcode("", null);
osmandSettings.setLastSearchedCity(0L, "", null);
osmandSettings.setLastSearchedStreet("", null);
osmandSettings.setLastSearchedIntersectedStreet("", null);
osmandSettings.setLastSearchedBuilding("", null);
osmandSettings.setLastSearchedPoint(null);
//osmandSettings.setLastSearchedRegion("", null);
//osmandSettings.setLastSearchedPostcode("", null);
//osmandSettings.setLastSearchedCity(0L, "", null);
//osmandSettings.setLastSearchedStreet("", null);
//osmandSettings.setLastSearchedIntersectedStreet("", null);
//osmandSettings.setLastSearchedBuilding("", null);
//osmandSettings.setLastSearchedPoint(null);
super.reset();
}

View file

@ -27,10 +27,10 @@ public class SearchStreet2ByNameActivity extends SearchByNameAbstractActivity<St
@Override
protected void reset() {
osmandSettings.setLastSearchedStreet("", null);
osmandSettings.setLastSearchedIntersectedStreet("", null);
osmandSettings.setLastSearchedBuilding("", null);
osmandSettings.setLastSearchedPoint(null);
//osmandSettings.setLastSearchedStreet("", null);
//osmandSettings.setLastSearchedIntersectedStreet("", null);
//osmandSettings.setLastSearchedBuilding("", null);
//osmandSettings.setLastSearchedPoint(null);
super.reset();
}

View file

@ -54,10 +54,10 @@ public class SearchStreetByNameActivity extends SearchByNameAbstractActivity<Str
@Override
protected void reset() {
searchWithCity = -1;
osmandSettings.setLastSearchedStreet("", null);
osmandSettings.setLastSearchedIntersectedStreet("", null);
osmandSettings.setLastSearchedBuilding("", null);
osmandSettings.setLastSearchedPoint(null);
//osmandSettings.setLastSearchedStreet("", null);
//osmandSettings.setLastSearchedIntersectedStreet("", null);
//osmandSettings.setLastSearchedBuilding("", null);
//osmandSettings.setLastSearchedPoint(null);
super.reset();
}