Commit Graph

843 Commits

Author SHA1 Message Date
Dennis Guse d5cfd118f6 Cleanup. 2021-08-28 19:00:06 +02:00
Dennis Guse 5981340bb9 TrackRecordingManager: only keeps reference to TrackId. 2021-08-28 19:00:06 +02:00
Dennis Guse d77b9243af RecordingStatus provides methods for status changes. 2021-08-25 22:58:45 +02:00
Dennis Guse 68c447f77e Removed AdaptiveLocationListenerPolicy.
Fixes #886.
2021-08-24 18:26:09 +02:00
Román Martínez 13380afef0 TrackRecordingManager only updates track's statistics every time a new track point is inserted. Fixes #916. 2021-08-22 20:01:38 +02:00
Román Martínez 9c4c8131f5 Recording stats layout customizable.
Users can select the order, visibility and importance (primary or secondary) of all stats for recording layout from the Settings.
Also, users can select the number of columns per row in the recording layout: 1, 2 or 3.
Finally, show altitude/coordinate from settings have been removed (not needed anymore).
Fixes #659.
Fixes #302.
Fixes #820.
2021-08-21 19:40:31 +02:00
Dennis Guse 1f84e44a8d Bugfix: LocationHandler should ignore locations after stopping. 2021-08-15 14:30:57 +02:00
Dennis Guse 6f3efd9ff2 Bugfix: reset TrackRecordingManager properly.
Fixes #901.
2021-08-07 19:37:14 +02:00
Román Martínez 017eee8b68 Bugfix: generated fields for include and merge tags. Fixes #902. 2021-08-05 18:01:34 +02:00
Dennis Guse a3872581bb Cleanup: Renamed HandlerServer to TrackPointCreator. 2021-08-01 18:40:38 +02:00
Dennis Guse fc0cec6157 Share picture: if sharing a track, a share picture (PNG) is created in addition.
Fixes #363.
2021-08-01 18:22:42 +02:00
Dennis Guse 242147e491 Sensor: adding Running Speed and Cadence.
Fixes #891.
2021-07-31 18:44:42 +02:00
Dennis Guse eba7a7fd89 Settings: use already available custom summary. 2021-07-31 17:54:57 +02:00
Dennis Guse 348f74c4b3 Cleanup. 2021-07-31 17:54:57 +02:00
Dennis Guse 54be1b74fb Lint: fix AGP7.0.0 found linting errors. 2021-07-29 22:54:57 +02:00
Dennis Guse bb90c53057 Simplified voice announcement interface.
Part of #822.
2021-07-22 17:18:31 +02:00
Dennis Guse bd5bf530f0 TrackRecordingService: extracted storing data into TrackRecordingManager.
Part of #822.
2021-07-22 17:18:31 +02:00
Dennis Guse a4580fc84e Cleanup. 2021-07-22 17:18:31 +02:00
Dennis Guse 9ab34eb846 TrackRecordingService: EGM2008 computation should only be done for UI.
Reverting 16483d4261ff780f940fe4ea223957c898023e14
2021-07-22 17:18:31 +02:00
Dennis Guse 997ddbb4f1 ExportImportTest: made tests deterministic (simulate GPS/sensors).
Fixes #761.
2021-07-22 17:18:31 +02:00
Dennis Guse 86a0054c24 Bugfix: TrackStatistics' total time was not restored correctly, when having pause/stop and then resume. 2021-07-22 17:18:31 +02:00
Dennis Guse 3bd00c906a LocationHandler.onStop(): reset state. 2021-07-22 17:18:31 +02:00
Dennis Guse d42d1214ea While recording: UI updates altitude, speed, and bearing to most recently received value.
Fixes #866.
2021-07-22 17:18:31 +02:00
Dennis Guse db24639829 Cleanup: horizontal accuracy is now a Distance (and named consistently). 2021-07-22 17:18:31 +02:00
Dennis Guse 0f6480197b Cleanup. 2021-07-22 17:18:31 +02:00
Dennis Guse 18702bb6b3 Cleanup. 2021-07-22 17:18:31 +02:00
Dennis Guse 65e920e8b6 ExportImportTest: made tests deterministic.
Fixes #761.
2021-07-22 17:18:31 +02:00
Dennis Guse 7d24262b38 TrackRecordingService: generate timestamps for TrackPoints in HandlerServer.
Part of #822.
2021-07-22 17:18:31 +02:00
Dennis Guse 223ad70d36 TrackRecordingService: move BluetoothRemoteSensorManager and AltitudeSumManager to HandlerServer.
Part of #822.
2021-07-22 17:18:31 +02:00
Dennis Guse 29aefff788 Cleanup: remove HandlerInterface. 2021-07-22 17:18:31 +02:00
Dennis Guse c9478ea38d HandlerServer: disable serviceExecutor to simplify testing for now.
Part of #882.
2021-07-22 17:18:31 +02:00
Dennis Guse 1255ec8111 TrackRecordingService: extract EGM2008CorrectionManager into HandlerServer.
Part of #882.
2021-07-22 17:18:31 +02:00
Dennis Guse f9d3108cb2 Extract EGM2008CorrectionManager.
Part of #882.
2021-07-22 17:18:31 +02:00
Dennis Guse 1259c42d28 TrackRecordingService: notification should not vibrate.
Fixes #611.
2021-07-11 23:05:05 +02:00
Dennis Guse 401e07d7e7 Cleanup. 2021-07-09 23:17:18 +02:00
Dennis Guse a5cdf21322 Translations: move plural to individual locales (TTS).
Part of #867.
2021-07-08 19:44:38 +02:00
Dennis Guse 6d0f1ba773 Cleanup using AndroidStudio's analyze function. 2021-07-08 07:40:10 +02:00
Dennis Guse f2d276c246 TrackRecordingService: on recording end, we have a race condition while shutting down. 2021-07-05 19:41:25 +02:00
Dennis Guse c68a52b5fb UI: show altitude with one decimal digit.
Part of #850.
2021-07-05 18:47:33 +02:00
Dennis Guse 77f03dcc28 Translation: use Android's cancel/ok.
Fix #868.
2021-07-04 21:41:05 +02:00
Dennis Guse 54fa2903ed Translation: use Android's cancel/ok.
Fix #868.
2021-07-04 21:34:44 +02:00
Dennis Guse 3840f57317 Cleanup. 2021-07-04 19:48:44 +02:00
Dennis Guse 87e0980695 Bugfix: prevent NPE on endRecording (race condition). 2021-07-04 16:53:10 +02:00
Dennis Guse af8d9c08ab IntervalStatistics: format gain/loss like on StatisticsRecordingFragment. 2021-07-04 16:53:10 +02:00
Dennis Guse c9231a7640 Add copy constructor to SensorDataSet to avoid undesired changes. 2021-07-04 16:53:10 +02:00
Dennis Guse acb2044a43 TrackStatisticsUpdater: simplify/ test initialization.
Fixes #863.
2021-07-04 16:53:10 +02:00
Dennis Guse c07d6124f9 TrackRecordingService: simplify altitude and remoteSensor handling. 2021-07-04 16:53:10 +02:00
Dennis Guse 8991d7bf0d Temporary TrackStatistics should also contain gain/loss from barometric sensor. 2021-07-04 16:53:10 +02:00
Dennis Guse c289fd174d Cleanup. 2021-07-04 16:53:10 +02:00
Dennis Guse 5899235b2b Tests: create TrackPoint instead of Location. 2021-07-04 16:53:10 +02:00