Fix geo intent
This commit is contained in:
parent
653f8be03e
commit
d76cd1e2fa
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ public class GeoIntentActivity extends OsmandListActivity {
|
||||||
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
||||||
}
|
}
|
||||||
Uri uri = intent.getData();
|
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);
|
settings.setSearchRequestToShow(searchString);
|
||||||
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue