Skip to content

Commit 55d4cc8

Browse files
RingerJKdzinad
authored andcommitted
MapboxTripSession: avoid pause updates for Alternative reason
1 parent 73e4931 commit 55d4cc8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Mapbox welcomes participation and contributions from everyone.
77
#### Bug fixes and improvements
88
- Fixed an issue where `RouteProgress#BannerInstructions` could've become `null` when `MapboxNavigation#updateLegIndex` was called. [#6717](https://github.com/mapbox/mapbox-navigation-android/pull/6717)
99
- Fixed an issue where `RouteProgress#VoiceInstructions` could've become `null` when `MapboxNavigation#updateLegIndex` was called. [#6717](https://github.com/mapbox/mapbox-navigation-android/pull/6717)
10+
- Fixed an issue where `RouteProgress#BannerInstructions` could've become `null` when setting alternative routes. [#6721](https://github.com/mapbox/mapbox-navigation-android/pull/6721)
1011

1112
## Mapbox Navigation SDK 2.9.4 - 08 December, 2022
1213
### Changelog

libnavigation-core/src/main/java/com/mapbox/navigation/core/trip/session/MapboxTripSession.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ internal class MapboxTripSession(
9393
.also { isUpdatingRoute = false }
9494
}
9595
is SetAlternativeRoutesInfo -> {
96+
isUpdatingRoute = false
9697
NativeSetRouteValue(
9798
routes = routes,
9899
nativeAlternatives = navigator.setAlternativeRoutes(routes.drop(1))

0 commit comments

Comments
 (0)