-
Notifications
You must be signed in to change notification settings - Fork 319
Sb cherry pick pr 6466 #6816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sb cherry pick pr 6466 #6816
Conversation
CHANGELOG.md
Outdated
| - :warning: Updated the `NavigationView` default navigation puck asset. [#6678](https://github.com/mapbox/mapbox-navigation-android/pull/6678) | ||
|
|
||
| Previous puck can be restored by injecting `LocationPuck2D` with the `bearingImage` set to `com.mapbox.navigation.ui.maps.R.drawable.mapbox_navigation_puck_icon` drawable: | ||
| ```kotlin | ||
| navigationView.customizeViewStyles { | ||
| locationPuckOptions = LocationPuckOptions.Builder(context) | ||
| .defaultPuck( | ||
| LocationPuck2D( | ||
| bearingImage = ContextCompat.getDrawable( | ||
| context, | ||
| com.mapbox.navigation.ui.maps.R.drawable.mapbox_navigation_puck_icon, | ||
| ) | ||
| ) | ||
| ) | ||
| .idlePuck(regularPuck(context)) | ||
| .build() | ||
| } | ||
| ``` | ||
| - Added guarantees that route progress with `RouteProgress#currentState == OFF_ROUTE` arrives earlier than `NavigationRerouteController#reroute` is called. [#6764](https://github.com/mapbox/mapbox-navigation-android/pull/6764) | ||
| - Fixed a rare `java.lang.NullPointerException: Attempt to read from field 'SpeechAnnouncement PlayCallback.announcement' on a null object reference` crash in `PlayCallback.getAnnouncement`. [#6760](https://github.com/mapbox/mapbox-navigation-android/pull/6760) | ||
| - Fixed standalone `MapboxManeuverView` appearance when the app also integrates Drop-In UI. [#6774](https://github.com/mapbox/mapbox-navigation-android/pull/6774) | ||
| - Introduced `NavigationViewListener.onSpeedInfoClicked` that would be triggered when `MapboxSpeedInfoView` is clicked upon. [#6770](https://github.com/mapbox/mapbox-navigation-android/pull/6770) | ||
| - Each newly instantiated MapboxRouteArrowView class will initialize the layers with the provided options on the first render call. Previously this would only be done if the layers hadn't already been initialized. [#6466](https://github.com/mapbox/mapbox-navigation-android/pull/6466) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just like in #6815 (comment) you have to clean up the changelog. That always happens with cherry-picks, but that won't be an issue once we adopt the new changelog strategy by @SevaZhukov.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will lead to a conflict and a rebase will create a mess just like the last one. Here we go...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fortunately no conflict this time.
Codecov Report
@@ Coverage Diff @@
## release-v2.10 #6816 +/- ##
================================================
Coverage 72.54% 72.54%
- Complexity 5521 5525 +4
================================================
Files 772 772
Lines 29894 29903 +9
Branches 3533 3533
================================================
+ Hits 21686 21693 +7
- Misses 6793 6794 +1
- Partials 1415 1416 +1
|
fe7ad7d to
0db701b
Compare
| - Fixed an issue with `NavigationView` that caused info panel to shrink in landscape mode with a full screen theme. [#6811](https://github.com/mapbox/mapbox-navigation-android/pull/6811) | ||
| - Fixed standalone `MapboxManeuverView` appearance when the app also integrates Drop-In UI. [#6810](https://github.com/mapbox/mapbox-navigation-android/pull/6810) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These 2 lines need to be restored, those are the changes that I cherry-picked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
restored
…oved so that new options will take effect. (#6466) Co-authored-by: Seth Bourget <seth@cafesilencio.net>
0db701b to
349ca99
Compare
Description
Cherry pick of PR 6466.
Screenshots or Gifs