Skip to content

Commit 40a9a7d

Browse files
RingerJKdzinad
authored andcommitted
MapboxTripSession: avoid pause updates for Alternative reason
1 parent 98f5542 commit 40a9a7d

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
@@ -8,6 +8,7 @@ Mapbox welcomes participation and contributions from everyone.
88
#### Bug fixes and improvements
99
- Fixed an issue where `RouteProgress#BannerInstructions` could've become `null` when `MapboxNavigation#updateLegIndex` was called. [#6716](https://github.com/mapbox/mapbox-navigation-android/pull/6716)
1010
- Fixed an issue where `RouteProgress#VoiceInstructions` could've become `null` when `MapboxNavigation#updateLegIndex` was called. [#6716](https://github.com/mapbox/mapbox-navigation-android/pull/6716)
11+
- Fixed an issue where `RouteProgress#BannerInstructions` could've become `null` when setting alternative routes. [#6720](https://github.com/mapbox/mapbox-navigation-android/pull/6720)
1112

1213
## Mapbox Navigation SDK 2.8.0 - 29 September, 2022
1314
### 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
@@ -90,6 +90,7 @@ internal class MapboxTripSession(
9090
setRouteToNativeNavigator(routes, setRoutesInfo.legIndex)
9191
}
9292
is SetAlternativeRoutesInfo -> {
93+
isUpdatingRoute = false
9394
NativeSetRouteValue(
9495
routes = routes,
9596
nativeAlternatives = navigator.setAlternativeRoutes(routes.drop(1))

0 commit comments

Comments
 (0)