Dennis Guse
d07ab3cc22
TrackRecordingManager: do not store altitude changes twice (previous …
...
…TrackPoint's storage was delayed).
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
90493ae498
TrackRecordingManager: do not store sensor distance twice (previous TrackPoint's storage was delayed).
...
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
f6b994572a
TrackRecordingManager: cache last stored TrackPoint.
2021-10-16 10:23:09 +02:00
Dennis Guse
24826ff442
TrackRecordingManager: cleanup.
2021-10-16 10:23:09 +02:00
Dennis Guse
d97e5ab1ef
TrackRecordingManager: only keep lastTrackPoint if was not stored.
2021-10-16 10:23:09 +02:00
Dennis Guse
52a110d998
Bugfix: reset on SensorDataSet should only take place if the TrackPoint was stored
...
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
2f5b7b63e4
Opening from notification: pressing back goes to TrackListActivity.
...
Fixes #928 .
2021-10-14 18:33:44 +02:00
Dennis Guse
0527e4ab14
Cleanup: move AnnouncementUtils to VoiceAnnouncement.
...
Part of #963
2021-10-12 22:24:51 +02:00
Dennis Guse
b6b4c5aa39
Cleanup: move PreferencesUtils into settings package.
...
Part of #963
2021-10-12 22:24:51 +02:00
Dennis Guse
eac3d4b3db
Cleanup: SharedPreference as static variable.
...
Fixes #961 .
2021-10-12 22:24:51 +02:00
Román Martínez
d99fb5ea47
Cadence set to 0 when connected but user is not pedaling. Fixes #931 .
...
Speed set to 0 when connected but last value is outdated. Fixes #930 .
Bug: overflow when reset sensors (cadence and speed). Fixes #833 .
Moving time stops when is not moving (the last track point is not moving) and restarts when last track point is moving.
2021-09-21 18:07:23 +02:00
Timo Schwarzer
487bd6c3a0
Set FLAG_IMMUTABLE for PendingIntents
...
This fixes a crash on Android 12, since it explicitly requires setting either FLAG_MUTABLE or FLAG_IMMUTABLE
2021-09-07 23:18:14 +02:00
Dennis Guse
8f2d1722ad
Announcements: can be triggered by time and distance (instead of either).
...
Fixes #921 .
2021-08-30 17:24:51 +02:00
Dennis Guse
9cb3d8c1bb
Finished renaming: TrackPointCreator was still referenced as HandlerServer.
2021-08-30 17:24:51 +02:00
Dennis Guse
fa02ba9c69
Voice announcements: if TTS is not available play a sound file.
...
Fixes #862 .
2021-08-30 17:24:51 +02:00
Dennis Guse
4f31607e3e
Voice announcements are now triggered by the TrackRecordingService's timer that is also used for UI updates.
2021-08-30 17:24:51 +02:00
Dennis Guse
b5165de7f0
PeriodicTaskExecutor: use a Handler instead of Timer.
2021-08-30 17:24:51 +02:00
Dennis Guse
b32e87e10b
PeriodTaskFactory: refactor interfaces.
2021-08-30 17:24:51 +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
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
Dennis Guse
a3872581bb
Cleanup: Renamed HandlerServer to TrackPointCreator.
2021-08-01 18:40:38 +02:00
Dennis Guse
242147e491
Sensor: adding Running Speed and Cadence.
...
Fixes #891 .
2021-07-31 18:44:42 +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
f2d276c246
TrackRecordingService: on recording end, we have a race condition while shutting down.
2021-07-05 19:41:25 +02:00
Dennis Guse
87e0980695
Bugfix: prevent NPE on endRecording (race condition).
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