QA reported voice instructions were repeating for the same step. This PR resolve the issue by ignoring onManueverChanged calls with the same position.
Description
Added logic gate to ignore onManeuverChanged calls with same position as one that preceded it
Added flags in RoutingActivity and NavOverlayView to determine where a maneuver originated from.
Added comments for this potentially confusing logic flow
Notes
It is possible and valid for multiple instructions to be TTS and displayed on the Pager within rapid succession. As long as the instruction was different form the one that preceded it.
Context
QA reported voice instructions were repeating for the same step. This PR resolve the issue by ignoring onManueverChanged calls with the same position.
Description
Notes
It is possible and valid for multiple instructions to be TTS and displayed on the Pager within rapid succession. As long as the instruction was different form the one that preceded it.
Screen Record https://drive.google.com/file/d/1JPw9EdAo0No5qC7ie2Evk5lLhiYn0Zcq/view?usp=sharing