From 180f5c37141f139099f48cd63042b9404a40f4de Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 1 Apr 2016 17:38:27 +0200 Subject: [PATCH] test something --- OsmAnd/src/net/osmand/plus/NotificationHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/NotificationHelper.java b/OsmAnd/src/net/osmand/plus/NotificationHelper.java index c408bb58fd..57bc630165 100644 --- a/OsmAnd/src/net/osmand/plus/NotificationHelper.java +++ b/OsmAnd/src/net/osmand/plus/NotificationHelper.java @@ -136,7 +136,8 @@ public class NotificationHelper { app.getString(R.string.shared_string_control_stop), stopPendingIntent); notificationBuilder.addAction(R.drawable.ic_action_save, app.getString(R.string.shared_string_save), savePendingIntent); - } else if(service == null) { +// } else if(service == null) { + } else { Intent startIntent = new Intent(OSMAND_START_GPX_SERVICE_ACTION); PendingIntent startPendingIntent = PendingIntent.getBroadcast(app, 0, startIntent, PendingIntent.FLAG_UPDATE_CURRENT);