From 6a9bc90ccdc4576509f9dddf1519bf0f8778b88a Mon Sep 17 00:00:00 2001 From: Tomek Zebrowski Date: Wed, 17 Jul 2024 18:38:43 +0200 Subject: [PATCH] feat: Allow TRIP_INFO screen to be refreshed --- .../main/java/org/obd/graphs/aa/screen/nav/SurfaceController.kt | 1 - .../src/main/java/org/obd/graphs/aa/screen/nav/SurfaceScreen.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/automotive/src/main/java/org/obd/graphs/aa/screen/nav/SurfaceController.kt b/automotive/src/main/java/org/obd/graphs/aa/screen/nav/SurfaceController.kt index a427a9ac..ae2f0a44 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/screen/nav/SurfaceController.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/screen/nav/SurfaceController.kt @@ -155,7 +155,6 @@ class SurfaceController( setStrategy(QueryStrategyType.DRAG_RACING_QUERY) }) - dataLogger.updateQuery(query = query) surfaceRenderer = SurfaceRenderer.allocate(carContext, settings, metricsCollector, fps, surfaceRendererType = SurfaceRendererType.DRAG_RACING) } diff --git a/automotive/src/main/java/org/obd/graphs/aa/screen/nav/SurfaceScreen.kt b/automotive/src/main/java/org/obd/graphs/aa/screen/nav/SurfaceScreen.kt index 6e1ef2d3..a281f840 100644 --- a/automotive/src/main/java/org/obd/graphs/aa/screen/nav/SurfaceScreen.kt +++ b/automotive/src/main/java/org/obd/graphs/aa/screen/nav/SurfaceScreen.kt @@ -259,5 +259,5 @@ internal class SurfaceScreen( } private fun isAllowedFrameRendering() = screenId == GIULIA_SCREEN_ID || - screenId == DRAG_RACING_SCREEN_ID + screenId == DRAG_RACING_SCREEN_ID || screenId == TRIP_INFO_SCREEN_ID } \ No newline at end of file