Use pause/resume isntead of start/stop GPX logging
This commit is contained in:
parent
43f1e37d72
commit
75b8b0de3a
2 changed files with 4 additions and 3 deletions
|
@ -1294,6 +1294,7 @@
|
|||
<string name="trip_rec_notification_settings">Turn on quick recording</string>
|
||||
<string name="trip_rec_notification_settings_desc">Display a system notification allowing trip recording.</string>
|
||||
<string name="shared_string_notifications">Notifications</string>
|
||||
<string name="shared_string_resume">Resume</string>
|
||||
<string name="shared_string_continue">Continue</string>
|
||||
<string name="shared_string_pause">Pause</string>
|
||||
<string name="shared_string_paused">Paused</string>
|
||||
|
@ -2112,8 +2113,8 @@
|
|||
<string name="live_monitoring_m">Online tracking (GPX required)</string>
|
||||
<string name="live_monitoring_start">Start online tracking</string>
|
||||
<string name="live_monitoring_stop">Stop online tracking</string>
|
||||
<string name="gpx_monitoring_start">Start GPX logging</string>
|
||||
<string name="gpx_monitoring_stop">Stop GPX logging</string>
|
||||
<string name="gpx_monitoring_start">Resume GPX logging</string>
|
||||
<string name="gpx_monitoring_stop">Pause GPX logging</string>
|
||||
<string name="gpx_start_new_segment">Start new segment</string>
|
||||
<string name="rendering_attr_hideBuildings_name">Buildings</string>
|
||||
<string name="rendering_attr_hideNonVehicleHighways_name">Non-vehicle highways</string>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue