Skip to content

Commit ad4cc8d

Browse files
committed
Have to do this for a breaking change
1 parent 020a57c commit ad4cc8d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

libnavui-androidauto/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ dependencies {
4040

4141
// This defines the minimum version of Navigation which is included in this SDK. To upgrade the
4242
// Navigation versions, you can specify a newer version in your downstream build.gradle.
43-
releaseApi("com.mapbox.navigation:android:2.9.0-alpha.4")
44-
debugApi project(":libnavigation-android")
43+
// TODO replace after the release
44+
// api("com.mapbox.navigation:android:2.9.0-beta.1")
45+
api project(":libnavigation-android")
4546

4647
// Search is currently in beta so it is not included in this SDK. The functionality of search
4748
// is included behind this library's api.

libnavui-androidauto/src/main/java/com/mapbox/androidauto/car/navigation/speedlimit/CarSpeedLimitRenderer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ internal constructor(
7676
val signFormat = speedLimitOptions.forcedSignFormat
7777
?: locationMatcherResult.speedLimit?.speedLimitSign
7878
val threshold = speedLimitOptions.warningThreshold
79-
when (distanceFormatterOptions?.unitType) {
79+
when (distanceFormatterOptions!!.unitType) {
8080
UnitType.IMPERIAL -> {
8181
val speedLimit =
8282
locationMatcherResult.speedLimit?.speedKmph?.let { speedLimitKmph ->

0 commit comments

Comments
 (0)