From 972388bd3bac0f747269986b1ae3a84cb4720d50 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 11 Jul 2014 09:15:02 +0200 Subject: [PATCH] Fix osmo tracker --- OsmAnd/src/net/osmand/plus/osmo/OsMoTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/osmo/OsMoTracker.java b/OsmAnd/src/net/osmand/plus/osmo/OsMoTracker.java index a738df9caf..f1e58fa5c5 100644 --- a/OsmAnd/src/net/osmand/plus/osmo/OsMoTracker.java +++ b/OsmAnd/src/net/osmand/plus/osmo/OsMoTracker.java @@ -39,7 +39,7 @@ public class OsMoTracker implements OsMoReactor { } public String getSessionURL() { - if (!isEnabledTracker()) { + if (!isEnabledTracker() || sessionURL == null) { return null; } return OsMoService.TRACK_URL + sessionURL;