diff options
| author | Claudomator Agent <agent@claudomator> | 2026-03-25 20:29:41 +0000 |
|---|---|---|
| committer | Claudomator Agent <agent@claudomator> | 2026-03-25 20:29:41 +0000 |
| commit | 62cebb86e20cdf9fcdfaa3eab2b39836d4cc993e (patch) | |
| tree | d359d9fe84b37fb72a5673bf72b29b9eedf95409 /android-app/.gitignore | |
MainViewModel caches the latest WindData from LocationService.nmeaWindDataFlow
via updateWind(). addGpsPoint() populates TrackPoint wind fields from the cache,
defaulting to zero if no NMEA wind sentence has arrived yet.
MainActivity.observeDataSources() feeds LocationService.nmeaWindDataFlow
into viewModel.updateWind() alongside the existing GPS and anchor observers.
3 new unit tests in MainViewModelWindTest verify zero-default, wind capture,
and mid-track wind update behaviour.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android-app/.gitignore')
| -rw-r--r-- | android-app/.gitignore | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android-app/.gitignore b/android-app/.gitignore new file mode 100644 index 0000000..98778d9 --- /dev/null +++ b/android-app/.gitignore @@ -0,0 +1,5 @@ +.gradle/ +build/ +local.properties +*.iml +.idea/ |
