Skip to content

Optimize navigation, terrain, recording, and sensors#67

Draft
AdrienGrp wants to merge 29 commits into
mainfrom
codex/post-merge-corrections
Draft

Optimize navigation, terrain, recording, and sensors#67
AdrienGrp wants to merge 29 commits into
mainfrom
codex/post-merge-corrections

Conversation

@AdrienGrp

Copy link
Copy Markdown
Owner

What changed

  • Optimizes GPS request policies, screen-off behavior, auto-pause, marker prediction, compass continuity, and related diagnostics for better responsiveness and lower background cost.
  • Makes DEM handling resilient across detailed/standard terrain, fixes hillshade fallback rendering, and adds source-specific download progress and elevation improvements.
  • Improves recording metadata, profile-aware REC dashboards and recap details, battery benchmark telemetry, and activity-specific metric defaults.
  • Hardens external BLE sensors with subscription-based readiness, setup timeouts, serialized callbacks, bounded reconnects and scans, stale-value clearing, Cycling Power discovery, notification/indication compatibility, and sampled diagnostics.
  • Updates bundled map themes/licensing and keeps app-owned resources explicitly English-only after removal of the partial French localization.

Why

This branch applies the findings from the post-5.6 app audit and subsequent field tests. The main root causes were lifecycle transitions being treated as ready too early, fallback availability being conflated with selected download state, high-frequency work continuing outside the visible/active path, and REC configuration not being fully separated by activity profile.

User impact

  • More stable compass and marker behavior after screen transitions.
  • Better battery behavior without reducing normal recording quality.
  • Reliable maps and elevation when only standard DEM data is available.
  • Independent, activity-appropriate Hike and Bike REC dashboards.
  • External sensors report Connected only when measurement subscriptions are ready and recover more cleanly from interruptions.

Verification

  • ktlintCheck
  • detekt
  • :app:compileDebugKotlin
  • :glancemapcompanionapp:compileDebugKotlin
  • :app:testDebugUnitTest
  • :glancemapcompanionapp:testDebugUnitTest
  • :app:lintDebug
  • :glancemapcompanionapp:lintDebug
  • Local BRouter routing metadata compatibility check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant