diff options
| author | Claude <noreply@anthropic.com> | 2026-05-15 22:50:30 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-05-15 22:50:30 +0000 |
| commit | 79a175ab56e03b4e8031e48c139060a0f434c0ab (patch) | |
| tree | 97f113887dd0e08df95414cc496ace524d1443a0 /android-app/app/src/test | |
| parent | 8a752c98c72235677e06f17be2f7a22776c0f74e (diff) | |
fix: handle application/octet-stream for .gpx on Android 16 (Google Files)
Google Files uses application/octet-stream for .gpx because Android 16's
MimeTypeMap has no entry for that extension. The ExternalStorageProvider
content URI encodes the full file path, so pathSuffix=".gpx" keeps the
ACTION_VIEW filter targeted without matching all binary files.
ACTION_SEND (share sheet) filters added for typed MIME variants; code now
handles both actions — EXTRA_STREAM for SEND, intent.data for VIEW.
For octet-stream and generic XML types, OpenableColumns.DISPLAY_NAME is
checked before parsing (uri.lastPathSegment is an opaque ID for content
URIs, not the filename). All decisions logged to NavLogger.
https://claude.ai/code/session_01DNjbYxiC1cco83dArNGW3G
Diffstat (limited to 'android-app/app/src/test')
0 files changed, 0 insertions, 0 deletions
