From 4cdedcb3409a17fe07e88813ba18e1c3e69858d7 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 24 Nov 2015 09:25:47 +0100 Subject: [PATCH] Remove notification --- OsmAnd/src/net/osmand/plus/NotificationHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/NotificationHelper.java b/OsmAnd/src/net/osmand/plus/NotificationHelper.java index 7d647cac33..14834b3305 100644 --- a/OsmAnd/src/net/osmand/plus/NotificationHelper.java +++ b/OsmAnd/src/net/osmand/plus/NotificationHelper.java @@ -102,6 +102,8 @@ public class NotificationHelper { } else { notificationText = notificationText + Integer.toString(soi / 1000 / 60) + " " + app.getString(R.string.int_min); } + } else if(monitoringPlugin == null) { + return null; } else { notificationText = app.getString(R.string.shared_string_trip_recording); float dst = app.getSavingTrackHelper().getDistance();