diff options
| author | Claude <noreply@anthropic.com> | 2026-05-26 20:35:38 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-05-26 20:35:38 +0000 |
| commit | 0db33911ca4841c658b22912d3ecf32477e5e827 (patch) | |
| tree | 0005290ad49551f1182eef94d63f5486a9ac1569 /.github | |
| parent | 3f3e6ed586e580539ce42289a3f97536fe994c7b (diff) | |
Persist logbook JSON and photos in SAF so they survive reinstall
- LogbookStorage: reads/writes nav_logbook.json and photos into the SAF
logbook/ subfolder, using the same saf_tree_uri pref as TrackStorage.
Automatically migrates legacy getExternalFilesDir JSON on first SAF
write. Falls back to external files when SAF is not yet configured.
- LogbookRepository: expose cameraDir (cache-backed temp for FileProvider),
copyPhoto(Uri), and importPhoto(File) instead of the old photoDir.
- VoiceLogFragment / TrackDetailSheet: camera writes temp to cacheDir then
imports to SAF after capture; gallery delegates to copyPhoto(); photo
display and decodeThumbnail handle both content:// URIs and file paths.
- file_paths.xml: add cache-path entry so FileProvider can serve camera
temp files from cacheDir/nav_camera/.
https://claude.ai/code/session_01KXYBuAHZkvv63DeUG6XaZD
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
