Fix issue #1945 -requires additional testing and cherry-picking to r2.2
This commit is contained in:
parent
fbaba5997b
commit
cf2fb85978
1 changed files with 1 additions and 1 deletions
|
@ -511,9 +511,9 @@ public abstract class SearchByNameAbstractActivity<T> extends OsmandListActivity
|
||||||
if(cintent.hasExtra(SearchActivity.SEARCH_LAT) && cintent.hasExtra(SearchActivity.SEARCH_LON)){
|
if(cintent.hasExtra(SearchActivity.SEARCH_LAT) && cintent.hasExtra(SearchActivity.SEARCH_LON)){
|
||||||
intent.putExtra(SearchActivity.SEARCH_LAT, cintent.getDoubleExtra(SearchActivity.SEARCH_LAT, 0));
|
intent.putExtra(SearchActivity.SEARCH_LAT, cintent.getDoubleExtra(SearchActivity.SEARCH_LAT, 0));
|
||||||
intent.putExtra(SearchActivity.SEARCH_LON, cintent.getDoubleExtra(SearchActivity.SEARCH_LON, 0));
|
intent.putExtra(SearchActivity.SEARCH_LON, cintent.getDoubleExtra(SearchActivity.SEARCH_LON, 0));
|
||||||
intent.putExtra(SELECT_ADDRESS, selectAddress);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
intent.putExtra(SELECT_ADDRESS, selectAddress);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue