Román Martínez
12e764c44a
Bugfix: EGM2008 label has to belong to stats_altitude_group to be hidden and showed according to user settings.
2021-06-01 21:04:38 +02:00
Dennis Guse
ee96226faf
Bugfix: avoid ConcurrentModificationException exception in ChartView.
2021-05-31 16:52:40 +02:00
Dennis Guse
ccfcd3b306
TrackDataHub: do not send more TrackPoints after stop().
2021-05-29 19:31:28 +02:00
Dennis Guse
7929d219ac
Cleanup: TrackDataHub does not need started.
2021-05-29 19:31:28 +02:00
Dennis Guse
d6f4d3f599
Cleanup:
...
TrackDataHub handles listeners itself.
2021-05-29 19:31:28 +02:00
Dennis Guse
4171d9cc4c
Cleanup.
2021-05-28 07:58:57 +02:00
Román Martínez
5cad99b237
Cleanup unused code.
2021-05-25 20:00:37 +02:00
Dennis Guse
b1b0a45f53
ChartFragment: re-added isResume() check.
2021-05-23 19:52:12 +02:00
Dennis Guse
e580a03115
Cleanup ChartFragment.
2021-05-23 19:52:12 +02:00
Dennis Guse
1d7820469c
TrackDataHub: prevent crash due to race condition.
...
Fixes #787 .
2021-05-22 12:49:51 +02:00
Román Martínez
aa34f5d55b
Bugfix: category change didn't update speed/pace correctly.
...
Espresso test added to check that unit is properly.
2021-05-21 21:01:31 +02:00
Dennis Guse
e71ab28701
TrackRecordingService: avoid race condition while stopping a recording.
2021-05-19 18:36:41 +02:00
Dennis Guse
ae001c73dd
Simplify TrackDataHub interface.
2021-05-19 18:36:41 +02:00
Dennis Guse
56ff7827df
TrackRecordingService uses LiveData to transfer data.
...
Replaces pull from UI layer.
Fixes #173 .
2021-05-19 18:36:41 +02:00
Román Martínez
93f203bcf1
Track deletion is handled by a service that shows a progress bar on the notification bar. Fixes #735 .
2021-05-17 19:45:26 +02:00
Dennis Guse
6b0ec72b9b
TrackListActivity: re-enable search.
...
Fixes #757 .
2021-05-16 14:35:10 +02:00
Dennis Guse
c00d769188
SensorDataCycling: use Distance.
2021-05-16 08:35:47 +02:00
Dennis Guse
00489a121a
Bugfix: TrackStatisticsUpdater was computing distance incorrectly.
...
While using a cycling speed and distance sensor, the updater was not using the distance from the most recent trackpoint but rather the one considered last moving.
Fixes #762 .
2021-05-16 08:35:47 +02:00
Dennis Guse
d7f339c6f8
Settings: disable voice announcement setting if not TTS available.
...
Fixes #763 .
2021-05-16 08:34:20 +02:00
Dennis Guse
da28ea3e95
Cleanup.
2021-05-16 00:08:15 +02:00
Dennis Guse
392c02a56f
Cleanup.
2021-05-13 06:27:16 +02:00
Dennis Guse
ed6daeb48b
TrackController is now ControllerFragment.
2021-05-12 07:39:47 +02:00
Dennis Guse
1fc0a552c7
ChartView: improve performance.
2021-05-11 07:42:17 +02:00
Dennis Guse
18dd1de1f9
TrackDataHub: prevent race condition.
2021-05-08 19:31:16 +02:00
Dennis Guse
48b6438c06
Bugfix: TrackDataHub needs to use the same TrackStatisticsUpdater for a whole track (incl. newly received TrackPoints).
...
Fixes #745 .
Introduced in https://github.com/OpenTracksApp/OpenTracks/commit/887d4700d4f8fbf10563834e7498388a3213007e
2021-05-08 14:40:32 +02:00
Dennis Guse
e822172f58
Cleanup.
2021-05-08 14:40:32 +02:00
Dennis Guse
120e20a0ea
Avoid crash on older Android when stopping a track.
2021-05-05 21:50:26 +02:00
Dennis Guse
2843d19450
UI presents altitude in EGM2008.
2021-05-05 18:01:07 +02:00
Dennis Guse
50127e311a
Introduced value object for Altitude.
2021-05-05 18:01:07 +02:00
Dennis Guse
fa50db08c3
EGM2008: added undulation data and bilinear computation.
...
Includes data structure for caching.
Part of #224 .
2021-05-05 18:01:07 +02:00
Dennis Guse
b395c19832
Bugfix: voice announcements need to use KM/Miles (instead of m/feet).
...
Fixes #722 .
2021-05-05 17:59:08 +02:00
Dennis Guse
8af0fb3250
Bugfix: TrackDataHub did not account for recordingDistanceInterval.
...
Introduced in 887d4700d4
2021-05-03 22:13:23 +02:00
Dennis Guse
49219de46a
GPSStatus: update initial and final status.
2021-05-03 22:13:23 +02:00
Dennis Guse
1baf652b81
Bugfix: ChartFragment needs to show elevation in M/FT.
2021-05-03 22:13:23 +02:00
Dennis Guse
6723bfb979
TrackRecordingService: provide status updates via LiveData.
...
Fixes #719
2021-05-03 22:13:23 +02:00
Dennis Guse
114fc31be0
KmzImporter: process doc.kml as stream (instead of in memory copy).
...
Also simplified exception handling.
2021-05-01 20:01:06 +02:00
Dennis Guse
ae795a76fa
Removed TrackImporter interface.
2021-05-01 20:01:06 +02:00
Dennis Guse
92004b0ec7
Cleanup: refactored importers.
2021-05-01 20:01:06 +02:00
Dennis Guse
ad1aa06407
Cleanup: extracted SAX2 import from AbstractFileTrackImporter.
2021-05-01 20:01:06 +02:00
Dennis Guse
3b92303511
Cleanup: move GPX-specific importer code to GPX importer.
2021-05-01 20:01:06 +02:00
Román Martínez
bf552a9219
Bugfix: crash deleting when activity restarts. Fixes #705 .
2021-04-27 19:54:02 +02:00
Dennis Guse
348f697b56
TrackRecordingActivity needs to update TrackDataHub onResume().
...
Part of #719 .
2021-04-27 19:02:53 +02:00
Dennis Guse
887d4700d4
TrackDataHub computes TrackStatistics and passes it to listeners.
...
Part of #719 .
2021-04-27 19:02:53 +02:00
Dennis Guse
391dfd30e2
TrackDataHub does not need to register for status changes of TrackRecordingService.
...
This is handled by TrackRecordingActivity alone.
Part of #719 .
2021-04-27 19:02:53 +02:00
Dennis Guse
b416857001
TrackRecordingService log warnings if unexpected methods are invoked.
2021-04-27 19:02:53 +02:00
Dennis Guse
df3720ef0d
Bugfix: TrackDataManager.unregisterTrackDataListener was not removing listener.
2021-04-27 19:02:53 +02:00
Román Martínez
b784a47af6
Bugfix: track stats always show pace. Fixes #726 .
2021-04-25 15:21:08 +02:00
Dennis Guse
0035c85922
AboutActivity: back via top left arrow is working now.
...
Fixes #727 .
2021-04-22 18:23:18 +02:00
Dennis Guse
e2964e805e
Bugfix: NPE in voice announcements using pace.
...
Fixes #724 .
2021-04-21 19:57:29 +02:00
Dennis Guse
13f2a09652
Bugfix: AnnouncementPeriodicTask does not need to register as TrackRecordingService.Listener.
2021-04-19 19:29:51 +02:00