Notification

This commit is contained in:
Dimitris
2026-04-06 15:39:12 +02:00
parent 3fbba92b1d
commit f388ba0fb8
2 changed files with 15 additions and 3 deletions
@@ -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
}
}
/**