Dennis Guse
18b21a6a3e
Bugfix: prevent race condition in TrackPointCreator.
...
This race condition leads to a crash in TrackStatisticsUpdater as the time might appear to move backwards if the created TrackPoints are not stored in order. Might happen if multiple sensors (BLE or GPS) are used in simultaneously.
Every method affected by a race condition is now synchronized.
Problem was introduced in c4b8082efc
Fixes #1151 .
2022-04-23 12:48:19 +02:00
Dennis Guse
844c6e9609
TrackPoint: moved methods into class.
2021-03-04 19:18:31 +01:00
Dennis Guse
4040e3f45b
Bugfix: crash on recording start due to show latitude/longitude option.
...
Fixes #613 .
2021-02-27 18:37:42 +01:00
Dennis Guse
e990b413cd
Replace long time_ms with Instant and Duration, respectively.
...
Fixes #561 .
2021-01-24 22:21:36 +01:00
Dennis Guse
fcc17413e3
Segments: use TrackPoint.type.
...
So, far specific latitude for segment start/end (i.e., PAUSE/RESUME) was used.
#316 .
2021-01-24 22:21:36 +01:00
Dennis Guse
9d6c9676ab
Refactoring to marker: content-package and fragments.
...
#389
2020-09-05 10:37:41 +02:00
Dennis Guse
b70c3be5af
Cleanup: static code analysis using AndroidStudio.
2020-07-20 20:05:45 +02:00
Dennis Guse
ec39e67a09
Removed Waypoint default constructor used by testing.
...
This avoids a null check for Waypoint.getLocation().
2020-04-14 07:12:56 +02:00
Dennis Guse
194379295d
TrackPoint has Location as delegate instead of inheritance.
2020-03-30 19:52:06 +02:00
Dennis Guse
901cffee97
Use TrackPoint instead of Location (and omit casting).
2020-03-30 19:52:06 +02:00
Dennis Guse
5ac72092fb
Test: export and import tracks via KML and GPX; now includes waypoints.
...
TripStatistics is not tested.
2019-12-22 18:59:23 +01:00
Dennis Guse
12023d51ae
Move data classes into separate package.
2019-12-22 18:59:23 +01:00
Dennis Guse
67d1ac551d
Show GPS accuracy while recording in the notification of the TrackRecordingService and notify if accuracy goes beyond configured threshold.
2019-11-24 18:44:04 +01:00
Dennis Guse
9d915b5640
Cleanup.
2019-11-03 00:13:14 +01:00
Dennis Guse
87d92d25f9
Cleanup: mainly code formatting and made LocationIterator implement autoclosable.
2019-09-08 12:39:40 +02:00
Dennis Guse
233522a5e6
Rebranding to OpenTracks (code).
2019-07-26 18:39:35 +02:00