File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
base/src/main/java/com/mapbox/navigation/base/internal/route
libtesting-navigation-base/src/main/java/com/mapbox/navigation/testing/factories Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ fun NavigationRoute.internalRefreshRoute(
6363 responseTimeElapsedSeconds,
6464 routeRefresh.unrecognizedJsonProperties
6565 ?.get(KEY_REFRESH_TTL )?.asInt,
66+ IncidentsRefresher (),
67+ ClosuresRefresher (),
6668 )
6769}
6870
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ internal fun RouteLeg.Builder.updateNotifications(
1212 isElectric : Boolean ,
1313): RouteLeg .Builder {
1414 // Currently backend supports only EV Notifications refresh
15- // https://github.com/mapbox/api-valhalla/blob/maxx-zp-adas-tiles /src/handlers/refresh/handleRefresh.ts/ #L328-L338
15+ // https://github.com/mapbox/api-valhalla/blob/913aee076e4da6ee713d0b2eef56141cad1723b7 /src/handlers/refresh/handleRefresh.ts#L328-L338
1616 if (! isElectric) {
1717 return this
1818 }
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ fun mapToNativeWaypoints(
146146 directionsWaypoint.name(),
147147 directionsWaypoint.location(),
148148 directionsWaypoint.distance(),
149- null ,
149+ directionsWaypoint.getUnrecognizedProperty( " metadata " )?.toString() ,
150150 routeOptions?.waypointTargetsList()?.get(index),
151151 when {
152152 directionsWaypoint.getUnrecognizedProperty(" metadata" )
You can’t perform that action at this time.
0 commit comments