better comment

This commit is contained in:
sonora 2016-04-03 12:35:59 +02:00
parent a88b9f12b0
commit d96505411d

View file

@ -108,7 +108,7 @@ public class NotificationHelper {
return null; return null;
//} else if(app.getSavingTrackHelper().getDistance() > 0f){ //} else if(app.getSavingTrackHelper().getDistance() > 0f){
//This produces system notification if unsaved GPX track exists, displaying recorded distance. But only while OsmAnd is in the foreground and while recording has been stopped (otherwise background notification caries this info anyway) //This produces system notification if unsaved GPX track exists, displaying recorded distance. But only while OsmAnd is in the foreground and while recording has been stopped (otherwise background notification caries this info anyway)
//Purpose is doubtful, we have widget for that. If we re-instante, we need to implement notification refresh upon track saved. //Purpose is doubtful, we have widget for that. If we re-instate, we need to implement notification refresh upon track saved, maybe also work on notification wording to clarify meaning.
// notificationText = app.getString(R.string.shared_string_trip_recording); // notificationText = app.getString(R.string.shared_string_trip_recording);
// float dst = app.getSavingTrackHelper().getDistance(); // float dst = app.getSavingTrackHelper().getDistance();
// notificationText += ": "+OsmAndFormatter.getFormattedDistance(dst, app); // notificationText += ": "+OsmAndFormatter.getFormattedDistance(dst, app);