From 814555512008613b408e8c3d64ddd447d9f6057e Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Wed, 30 Aug 2017 10:12:25 +0300 Subject: [PATCH] Fix #4321 --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index e07721d14b..1d0f79320b 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -1312,7 +1312,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven Intent intent = getIntent(); if (intent != null && intent.getData() != null) { Uri data = intent.getData(); - if ("http".equalsIgnoreCase(data.getScheme()) && data.getHost() != null && data.getHost().contains("osmand.net") && + if (("http".equalsIgnoreCase(data.getScheme()) || "https".equalsIgnoreCase(data.getScheme()))&& data.getHost() != null && data.getHost().contains("osmand.net") && data.getPath() != null && data.getPath().startsWith("/go")) { String lat = data.getQueryParameter("lat"); String lon = data.getQueryParameter("lon");