fix third occurrence

This commit is contained in:
sonora 2020-05-14 01:26:46 +02:00
parent 76674d9acd
commit 97a540dd32

View file

@ -131,7 +131,7 @@ public class GpxNotification extends OsmandNotification {
notificationText = app.getString(R.string.shared_string_recorded) notificationText = app.getString(R.string.shared_string_recorded)
+ ": " + OsmAndFormatter.getFormattedDistance(recordedDistance, app); + ": " + OsmAndFormatter.getFormattedDistance(recordedDistance, app);
} else { } else {
if (recordedDistance > 0) { if (app.getSavingTrackHelper().getTrkPoints() > 0) {
notificationTitle = app.getString(R.string.shared_string_paused) + "" notificationTitle = app.getString(R.string.shared_string_paused) + ""
+ Algorithms.formatDuration((int) (app.getSavingTrackHelper().getDuration() / 1000), true); + Algorithms.formatDuration((int) (app.getSavingTrackHelper().getDuration() / 1000), true);
notificationText = app.getString(R.string.shared_string_recorded) notificationText = app.getString(R.string.shared_string_recorded)