put settings changes on ice
This commit is contained in:
parent
153451b5f3
commit
0a42c9d308
5 changed files with 24 additions and 24 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue