Commit Graph

1183 Commits

Author SHA1 Message Date
Dennis Guse cb3904ee0b Cleanup: SensorStatistics is a record. 2023-09-28 20:06:13 +02:00
Dennis Guse 684756c264 Cleanup: SelectionData is a record. 2023-09-28 20:00:47 +02:00
Dennis Guse bc857faa18 Cleanup: ChartPoint is a record. 2023-09-28 19:57:15 +02:00
Dennis Guse e9b02df631 Cleanup. 2023-09-28 19:39:43 +02:00
Dennis Guse fda9ef9dd7 Bugfix: TrackList should only mark the currently recording track as recording. 2023-09-26 20:48:11 +02:00
Dennis Guse 2b08eb3287 Cleanup: removed unnecessary getter from data class RecordingStatus. 2023-09-26 08:13:32 +02:00
Dennis Guse 83da4f8f34 Idle: add voice announcement (user configurable).
Fixes of #1174
2023-09-25 17:59:17 +02:00
Dennis Guse 9a50d7bedf Idle: move idle into TrackStatistics. 2023-09-25 17:59:17 +02:00
Dennis Guse 348cb16256 ExportImportTest: extract test for checking recording. 2023-09-25 17:59:17 +02:00
Dennis Guse 7d739e3640 TrackStatisticsUpdater: remove check for max acceleration (was still used for max speed). 2023-09-25 17:59:17 +02:00
Dennis Guse 78d2a0722a Idle: TrackRecordingManager creates IDLE TrackPoints (configurable timeout).
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 00debe2eb5 Idle: TrackRecordingManager creates IDLE TrackPoints (import/export GPX/KML).
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 6be9d2477c Idle: TrackRecordingManager creates IDLE TrackPoints.
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 165dd401f4 Activity: added scooter (incl. icon).
Fixes #1695.
2023-09-23 21:52:07 +02:00
Dennis Guse 10e65035ee Cleanup: use List.of(). 2023-09-23 21:33:47 +02:00
Leon Marz e18017d500 TrackListActivity: Switch to RecyclerView
Part of: #1613
2023-09-14 18:11:02 +02:00
Leon Marz 30c76de136 Add recycler view adapter for track list 2023-09-14 18:11:02 +02:00
Leon Marz 853469cb28 ContentProviderUtils.java: Add searchTracks method 2023-09-14 18:11:02 +02:00
quaelnix cf9b432224 Add max power stats 2023-09-13 18:38:32 +02:00
Dennis Guse 4ca6b230c3 Bugfix: prevent crash due to invalid UUID example (Android 14+ / API34+).
Fixes #1682.
2023-08-31 22:05:31 +02:00
Leon Marz c256cbe07d MarkerListActivity: Switch to RecyclerView
Part of: #1613
2023-08-28 10:02:00 +02:00
Leon Marz 5978886a18 Add recycler view adapter for marker list 2023-08-28 10:02:00 +02:00
Leon Marz 7afa4b86d4 ContentProviderUtils: Add searchMarkers method 2023-08-28 10:01:51 +02:00
Peter Storch f83c23e450 show postworkout error messages, #1669 2023-08-26 19:40:27 +02:00
Dennis Guse 326da494eb Java Record for Track.Id and TrackPoint.Id.
Part of #1526.
2023-08-25 23:52:10 +02:00
Dennis Guse 9b6df4bf99 Bugfix: request ACCESS_BACKGROUND_LOCATION fails; removing it for now.
Introduced in 3910837d1a

Part of #1653.
2023-08-22 07:15:08 +02:00
Dennis Guse 28981611f1 GPX export: skip gain/loss if not present.
Part of #1671.
2023-08-20 19:38:37 +02:00
Dennis Guse 7d8c4dcb29 Bugfix: re-introduced race condition fix for newGpsStatus.
Follow-up to e9f24f6bae

Fixes #1668.
2023-08-20 19:28:37 +02:00
Dennis Guse bf0aac7bc6 GPSManager: on stop() release reference to observer. 2023-08-13 21:11:24 +02:00
Dennis Guse 205c5c7528 SensorManager and GPSManager: prefer to crash rather than hide usage errors. 2023-08-13 21:11:24 +02:00
Dennis Guse ce0365c2e9 TrackListActivity: simplify sensor start/stop. 2023-08-13 21:11:24 +02:00
Dennis Guse 313284cceb Bugfix: GpsStatusManager needs to stop the timer.
This may lead to crashes when track recording is finished.
2023-08-13 21:11:24 +02:00
Dennis Guse f6e8a44a8b GpsStatusManager should be running in on Thread alone. 2023-08-13 21:11:24 +02:00
Dennis Guse 4d5c59be96 TrackRecordingService: must be stopped via TrackRecordingServiceConnection and handles Preference changes. 2023-08-13 21:11:24 +02:00
Dennis Guse 0a5b46655a Bugfix: database migration 36 did not update TrackPoint.type data (removal of SENSORPOINT).
Introduced in c0b5e71976

Fixes #1663.
2023-08-10 21:52:19 +02:00
Dennis Guse c263af7033 Bugfix: ACCESS_BACKGROUND_LOCATION is only available/required with Android 10+.
Introduced in 3910837d1a

Fixes #1662.
2023-08-10 18:02:54 +02:00
Dennis Guse c0b5e71976 TrackPoint: all sensors are the same - no need to distinguish the source of a TrackPoint (BLE sensor vs GPS).
Part of #1187.
2023-08-08 19:03:01 +02:00
Dennis Guse c69f1e101c Idle: introduced TrackPoint for marking idle.
Part of #1187.
2023-08-08 18:52:11 +02:00
Dennis Guse 87bc7be530 Exporter: rather crash than hide lifecycle errors.
Part of #1187.
2023-08-08 18:28:19 +02:00
Dennis Guse f35eef4c57 TrackRecordingManager keeps reference to TrackPointCreator.
Part of #1187.
2023-08-08 18:28:19 +02:00
Dennis Guse 0fa0f4b5ec Move AltitudeCorrectionManager to TrackRecordingManager.
Part of #1187.
2023-08-08 18:28:19 +02:00
Dennis Guse e9f24f6bae TrackRecordingService: removed race conditions workarounds.
Part of #1187.
2023-08-08 18:28:19 +02:00
Dennis Guse 7530e1d120 AndroidStudio: code cleanup. 2023-08-08 17:57:36 +02:00
v_schaefer 3910837d1a Fix: GPS Access denied when phone in standby
Added ACCESS_BACKGROUND_LOCATION permission to access GPS while phone is in standby. This is necessary for situations where the PublicAPI is triggered to start a record from an external device like a smartwatch.
2023-08-08 12:51:11 +02:00
Leon Marz e69bea802f AggregatedStatisticsActivity: Convert ListView to RecyclerView
Part of: #1613
2023-08-06 12:44:29 +02:00
Dennis Guse 4baaff8374 TrackDeleteService can be a JobIntentService (rather than ForegroundService).
Android 14 requires ForegroundService to have a reason.

Fixes  #1657.
2023-08-06 11:41:40 +02:00
Dennis Guse 1ed0a11c2f Move ExportServiceResultReceiver.java into ExportService. 2023-08-06 11:15:48 +02:00
Dennis Guse 971b0196da Android14: crash due to missing announcement of ForegroundServiceType.
Fixes #1655.
2023-08-06 10:51:25 +02:00
Dennis Guse 45f41d6401 Bugfix: Android 14's AltitudeConverter throws exception if no geo coords are present. 2023-08-06 10:38:12 +02:00
Dennis Guse 42234515cb Android14: crash due to missing announcement of ForegroundServiceType.
Fixes #1655.
2023-08-06 09:49:17 +02:00