Commit Graph

1328 Commits

Author SHA1 Message Date
Dennis Guse f2594371d3 Bluetooth: inline BluetoothUtils into Handler classes. 2023-11-06 18:09:19 +01:00
Dennis Guse 4d54472c93 Bluetooth: use composition instead of inheritance.
Part of #1424.
2023-11-06 18:09:19 +01:00
Dennis Guse 3a2a62a6d7 Bluetooth: send sensor data directly to SensorManager.
Part of #1424.
2023-11-06 18:09:19 +01:00
Dennis Guse 17487961ad Bluetooth: upgrade minSDK=26 for simplification (race condition prevention).
Part of #1424.
2023-11-06 18:09:19 +01:00
Dennis Guse 062457f1aa Cleanup: use Java 17's instanceof.
Fixes #1757.
2023-11-06 07:46:18 +01:00
Dennis Guse cb48d7f706 Bugfix (Android14): for recording Location/GPS and Nearby Devices/Bluetooth are mandatory due to Android.
Fixes #1749.
2023-10-29 21:01:37 +01:00
Dennis Guse 1eedd78466 Revert "Cleanup: use stream.toList()."
This reverts commit 8c8a7d9496.
2023-10-17 20:28:35 +02:00
Dennis Guse 8f9ba046ce Cleanup: setTextAppearance(context...) is deprecated. 2023-10-15 10:46:36 +02:00
Dennis Guse a02e6fcd51 Cleanup: AggregatedStatisticsAdapter uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse be0a7e2fac Cleanup: interval statistics uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse 46c56b7de8 Cleanup: settings for layout uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse 5ba55324fa Cleanup: aggregated stats filter uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse 2657417887 UI: show back button, if there is a back operation. 2023-10-11 07:33:38 +02:00
Dennis Guse 65b53396a6 Merge pull request #1717 from OpenTracksApp/type#1608
Introduced ActivityType is now non-localized (i.e., English) value
2023-10-10 20:10:16 +02:00
Dennis Guse 5fbc079d96 Android12+: use user-defined DynamicColors. 2023-10-10 08:25:05 +02:00
Dennis Guse 5ced5e2c0b Cleanup: remove unused method. 2023-10-10 07:37:05 +02:00
Dennis Guse 31ea1348de Predictive back: enable.
Part of #1708.
2023-10-10 07:37:05 +02:00
Leon Marz 88b860af5a Marker List: Fix crashes in selection mode 2023-10-08 14:20:40 +02:00
Leon Marz 1708e09c5a Change missing line for afbe94195c 2023-10-08 14:20:40 +02:00
Dennis Guse 55495dae53 ActivityType non-localized: import and export for GPX, KML, and KMZ.
Fixes #1608.
2023-10-08 14:07:29 +02:00
Dennis Guse ea37e2852b Cleanup: TrackListAdapter cursor renamed. 2023-10-08 13:59:57 +02:00
Dennis Guse e69bf31976 ActivityType non-localized: store in database.
Includes migration of existing data from ActivityType localized or icon.

Part of #1608.
2023-10-08 13:48:08 +02:00
Dennis Guse 1f96283080 Cleanup: StatisticsRecordedFragment loaded ActivityType weird. 2023-10-08 13:48:07 +02:00
Dennis Guse 8c8a7d9496 Cleanup: use stream.toList(). 2023-10-08 13:48:07 +02:00
Dennis Guse 2e76458b62 Bugfix: TrackImporter needs to lookup activityTypeLocalized if no activityType is present.
Part of #1608.
2023-10-08 13:48:07 +02:00
Dennis Guse 1e9a0abb49 KMLTrackExporter: remove unused icon export.
Part of #1608.
2023-10-08 13:48:07 +02:00
Leon Marz afbe94195c TrackList: Fix crashes in selection mode
Fixes: #1711
2023-10-08 13:27:12 +02:00
Dennis Guse 2c9726f643 Bugfix: preferred speed for nautical setting was not showing correct options. 2023-10-03 17:28:01 +02:00
pixeebot[bot] 83445cfde0 Switch order of literals to prevent NullPointerException (#4)
Co-authored-by: pixeebot[bot] <23113631+pixeebot@users.noreply.github.com>
2023-09-28 21:58:22 +02:00
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