Fix geo intent
This commit is contained in:
parent
8e218323dc
commit
7d1fc07e2e
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ public class GeoIntentActivity extends OsmandListActivity {
|
|||
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
||||
}
|
||||
Uri uri = intent.getData();
|
||||
String searchString = p != null && p.isGeoAddress() ? p.getLabel() : uri.toString();
|
||||
String searchString = p != null && p.isGeoAddress() ? p.getQuery() : uri.toString();
|
||||
settings.setSearchRequestToShow(searchString);
|
||||
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue