From 75b8b0de3a69e429f850aa0e60be17192c909eba Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 13 May 2020 14:40:01 +0200 Subject: [PATCH] Use pause/resume isntead of start/stop GPX logging --- OsmAnd/res/values/strings.xml | 5 +++-- .../src/net/osmand/plus/notifications/GpxNotification.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 1e3708d6fb..42d462d142 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -1294,6 +1294,7 @@ Turn on quick recording Display a system notification allowing trip recording. Notifications + Resume Continue Pause Paused @@ -2112,8 +2113,8 @@ Online tracking (GPX required) Start online tracking Stop online tracking - Start GPX logging - Stop GPX logging + Resume GPX logging + Pause GPX logging Start new segment Buildings Non-vehicle highways diff --git a/OsmAnd/src/net/osmand/plus/notifications/GpxNotification.java b/OsmAnd/src/net/osmand/plus/notifications/GpxNotification.java index daef81c368..cb139ef655 100644 --- a/OsmAnd/src/net/osmand/plus/notifications/GpxNotification.java +++ b/OsmAnd/src/net/osmand/plus/notifications/GpxNotification.java @@ -175,7 +175,7 @@ public class GpxNotification extends OsmandNotification { PendingIntent.FLAG_UPDATE_CURRENT); if (recordedDistance > 0) { notificationBuilder.addAction(R.drawable.ic_action_rec_start, - app.getString(R.string.shared_string_continue), startPendingIntent); + app.getString(R.string.shared_string_resume), startPendingIntent); notificationBuilder.addAction(R.drawable.ic_action_save, app.getString(R.string.shared_string_save), savePendingIntent); } else {