From 37e86f0e1edd50e9c5dbfd24783155f4294ec83e Mon Sep 17 00:00:00 2001 From: Maximilian Goldschmidt Date: Thu, 1 Aug 2024 18:18:47 +0200 Subject: [PATCH] bump dependency versions. Fixes a memory leak in compose navigation. --- .../dataCollector/DataCollector.kt | 4 ++-- .../ixam97/carStatsViewer/ui/views/PlotView.kt | 2 +- gradle/libs.versions.toml | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/automotive/src/main/java/com/ixam97/carStatsViewer/dataCollector/DataCollector.kt b/automotive/src/main/java/com/ixam97/carStatsViewer/dataCollector/DataCollector.kt index 5a236f32..64998c77 100644 --- a/automotive/src/main/java/com/ixam97/carStatsViewer/dataCollector/DataCollector.kt +++ b/automotive/src/main/java/com/ixam97/carStatsViewer/dataCollector/DataCollector.kt @@ -73,8 +73,8 @@ class DataCollector: Service() { startForeground(CarStatsViewer.FOREGROUND_NOTIFICATION_ID + 10, foregroundServiceNotification.build()) InAppLogger.i("[NEO] Foreground service started in onStartCommand()") - super.onStartCommand(intent, flags, startId) - return START_NOT_STICKY + // super.onStartCommand(intent, flags, startId) + return START_STICKY } override fun onCreate() { diff --git a/automotive/src/main/java/com/ixam97/carStatsViewer/ui/views/PlotView.kt b/automotive/src/main/java/com/ixam97/carStatsViewer/ui/views/PlotView.kt index 36f6b42a..e0602e5a 100644 --- a/automotive/src/main/java/com/ixam97/carStatsViewer/ui/views/PlotView.kt +++ b/automotive/src/main/java/com/ixam97/carStatsViewer/ui/views/PlotView.kt @@ -496,7 +496,7 @@ class PlotView @JvmOverloads constructor( } override fun onDraw(canvas: Canvas) { - Log.d("PLOT", "onDraw, dimensionRestriction: $dimensionRestriction, dimensionShift:$dimensionShift") + // Log.d("PLOT", "onDraw, dimensionRestriction: $dimensionRestriction, dimensionShift:$dimensionShift") mWidth = width mHeight = height super.onDraw(canvas) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 403f2325..9bba442c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,21 +1,21 @@ [versions] agp = "8.3.2" -kotlin = "2.0.0" # Can't bump Kotlin version yet due to synthetics +kotlin = "2.0.0" ktx = "1.13.1" -activity = "1.9.0" -fragment-ktx = "1.7.1" +activity = "1.9.1" +fragment-ktx = "1.8.2" recyclerview = "1.3.2" room = "2.6.1" appcompat = "1.7.0" constraintlayout = "2.1.4" -lifecycle = "2.8.1" -navigation = "2.8.0-beta02" -car-app = "1.7.0-alpha02" +lifecycle = "2.8.4" +navigation = "2.8.0-beta06" +car-app = "1.7.0-beta01" gson = "2.10.1" -gms-location = "21.3.0" # Newer version requires Kotlin 1.9, see above +gms-location = "21.3.0" kotlinx = "1.7.3" serialization = "1.7.0" -compose = "1.6.7" +compose = "1.6.8" jakara-mail = "2.0.0" aboutlibraries = "10.6.1" aboutlibraries-plugin = "10.9.2"