Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Mapbox Navigation for Android version 2.0

Mapbox Navigation Android SDK

Copyright ©2022 - 2024 Mapbox, Inc. All rights reserved.
Copyright ©2022 - 2025 Mapbox, Inc. All rights reserved.

The software and files in this repository (collectively, "Software") are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS. This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms. If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated 2023-04]

Expand Down
1 change: 1 addition & 0 deletions changelog/unreleased/bugfixes/7908.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed crash on `ManeuverViewBinder` with TransitionManager#go(Scene).
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package com.mapbox.navigation.dropin.maneuver

import android.transition.Scene
import android.transition.TransitionManager
import android.view.LayoutInflater
import android.view.ViewGroup
import com.mapbox.navigation.core.lifecycle.MapboxNavigationObserver
import com.mapbox.navigation.dropin.R
import com.mapbox.navigation.dropin.databinding.MapboxManeuverGuidanceLayoutBinding
import com.mapbox.navigation.dropin.internal.extensions.reloadOnChange
import com.mapbox.navigation.dropin.navigationview.NavigationViewContext
Expand All @@ -18,13 +16,11 @@ internal class ManeuverViewBinder(
) : UIBinder {

override fun bind(viewGroup: ViewGroup): MapboxNavigationObserver {
val scene = Scene.getSceneForLayout(
viewGroup,
R.layout.mapbox_maneuver_guidance_layout,
viewGroup.context
viewGroup.removeAllViews()
val binding = MapboxManeuverGuidanceLayoutBinding.inflate(
LayoutInflater.from(viewGroup.context),
viewGroup
)
TransitionManager.go(scene)
val binding = MapboxManeuverGuidanceLayoutBinding.bind(viewGroup)

return reloadOnChange(
context.mapStyleLoader.loadedMapStyle,
Expand Down
Loading