diff options
| author | Claude <noreply@anthropic.com> | 2026-05-25 18:12:11 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-05-25 18:12:11 +0000 |
| commit | 02776054778c3cbc8aefc43376b105becfec2b86 (patch) | |
| tree | 1ab6db199bc09ff4a6c83e51e271124ee08b7960 /android-app/app/src/test | |
| parent | 619deab18a0cd56d844c5911a9bbda20d4439269 (diff) | |
Persist log entries and photos; stamp with GPS location
- LogbookStorage: Moshi-backed JSON persistence to getExternalFilesDir,
photos saved to Pictures/Nav/ instead of cache
- LogbookRepository: file-backed replacement for in-memory store, loads
saved entries on init so they survive app restarts
- VoiceLogViewModel: expose entries StateFlow, accept lat/lon in save()
- VoiceLogFragment: switch camera to TakePicture(Uri) via FileProvider for
full-res photos; gallery copies content URI to persistent storage;
passes current GPS position to save(); shows scrollable entries list
- MainViewModel: expose currentPosition StateFlow updated on each GPS fix
- AndroidManifest: add FileProvider for Pictures/Nav/ directory
- TripReportViewModel: updated to use LogbookRepository
https://claude.ai/code/session_01YUbuZNDAoLea4cf9UGQ9qn
Diffstat (limited to 'android-app/app/src/test')
0 files changed, 0 insertions, 0 deletions
