forked from upstream-mirrors/OpenTracks
3cf1bebe07
Also fixed the following: in uploadAllTrackPoints, introduce a "readCount" variable rather than using the zero based index "i". in prepareAndUploadPoints, add a lastBatch parameter so can include the (Part 1) marker if there is more than one segment. in prepareTrackSegment, set a new segment's stop time to the last location's time.