From a6e77725b4c113962cbcf1ab68d1078fed69b6ea Mon Sep 17 00:00:00 2001 From: Sergei Bolotov Date: Thu, 18 Jul 2024 18:43:51 -0700 Subject: [PATCH 1/2] KTIJ-19369 is marked as fixed. --- core/devicepose/build.gradle.kts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/devicepose/build.gradle.kts b/core/devicepose/build.gradle.kts index 5d6c0e1d..b728c629 100644 --- a/core/devicepose/build.gradle.kts +++ b/core/devicepose/build.gradle.kts @@ -1,4 +1,3 @@ -@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) @@ -6,10 +5,10 @@ plugins { android { namespace = "de.mm20.launcher2.location" - compileSdk = 34 + compileSdk = libs.versions.compileSdk.get().toInt() defaultConfig { - minSdk = 21 + minSdk = libs.versions.minSdk.get().toInt() testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles("consumer-rules.pro") From f1da5f5dccf752e4d64bdf5278b0832fc8cf5734 Mon Sep 17 00:00:00 2001 From: Sergei Bolotov Date: Thu, 18 Jul 2024 22:47:39 -0700 Subject: [PATCH 2/2] Remove unused variable in `CrashReporter`. --- .../main/java/de/mm20/launcher2/crashreporter/CrashReporter.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/core/crashreporter/src/main/java/de/mm20/launcher2/crashreporter/CrashReporter.kt b/core/crashreporter/src/main/java/de/mm20/launcher2/crashreporter/CrashReporter.kt index 72c0c115..dc157fc2 100644 --- a/core/crashreporter/src/main/java/de/mm20/launcher2/crashreporter/CrashReporter.kt +++ b/core/crashreporter/src/main/java/de/mm20/launcher2/crashreporter/CrashReporter.kt @@ -31,7 +31,6 @@ object CrashReporter { } suspend fun getCrashReport(filePath: String): CrashReport { - val path = CrashReporter.getCrashReportPath()?.takeIf { it.isEmpty() } ?: CrashUtil.getDefaultPath() return CrashReport.fromFile(File(filePath), true) }