From d76cd1e2fa453d4dd55399094d949294c2854b91 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 18 Apr 2017 12:13:22 +0300 Subject: [PATCH] Fix geo intent --- .../net/osmand/plus/activities/search/GeoIntentActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/GeoIntentActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/GeoIntentActivity.java index c660114d6b..ef10e312c2 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/GeoIntentActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/GeoIntentActivity.java @@ -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); }