Notification
This commit is contained in:
@@ -164,7 +164,7 @@ class SurfaceRenderer(
|
||||
|
||||
virtualDisplay = carContext.getSystemService(DisplayManager::class.java)
|
||||
.createVirtualDisplay(
|
||||
"Maps",
|
||||
"Navigation",
|
||||
surfaceContainer.width,
|
||||
surfaceContainer.height,
|
||||
surfaceContainer.dpi,
|
||||
@@ -408,8 +408,10 @@ class SurfaceRenderer(
|
||||
* Sets route data for active navigation and switches to VIEW mode.
|
||||
*/
|
||||
fun setRouteData(routeGeoJson: String) {
|
||||
routeData.value = routeGeoJson
|
||||
viewStyle = ViewStyle.VIEW
|
||||
synchronized(this) {
|
||||
routeData.value = routeGeoJson
|
||||
viewStyle = ViewStyle.VIEW
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user