From 1c1a425d817fbf0e9af8e8e2a2192289924a3594 Mon Sep 17 00:00:00 2001 From: rinzin Date: Thu, 21 Nov 2024 08:38:52 +0100 Subject: [PATCH] bump android api level to 26 --- android_example/build.gradle.kts | 4 ++-- snapshot/build.gradle.kts | 4 ++-- .../src/androidMain/kotlin/com/quickbird/snapshot/Color.kt | 4 ---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/android_example/build.gradle.kts b/android_example/build.gradle.kts index 7c8b278..29fdedd 100644 --- a/android_example/build.gradle.kts +++ b/android_example/build.gradle.kts @@ -5,11 +5,11 @@ plugins { @Suppress("UnstableApiUsage") android { - compileSdk = 33 + compileSdk = 34 defaultConfig { applicationId = "com.quickbird.android_example" - minSdk = 21 + minSdk = 26 targetSdk = 33 versionCode = 1 versionName = "1.0" diff --git a/snapshot/build.gradle.kts b/snapshot/build.gradle.kts index 4bedd54..ca4a207 100644 --- a/snapshot/build.gradle.kts +++ b/snapshot/build.gradle.kts @@ -46,10 +46,10 @@ kotlin { @Suppress("UnstableApiUsage") android { - compileSdk = 33 + compileSdk = 34 sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") defaultConfig { - minSdk = 21 + minSdk = 26 } namespace = "com.quickbird.snapshot" } diff --git a/snapshot/src/androidMain/kotlin/com/quickbird/snapshot/Color.kt b/snapshot/src/androidMain/kotlin/com/quickbird/snapshot/Color.kt index 9bfa674..6e68f5c 100644 --- a/snapshot/src/androidMain/kotlin/com/quickbird/snapshot/Color.kt +++ b/snapshot/src/androidMain/kotlin/com/quickbird/snapshot/Color.kt @@ -27,10 +27,6 @@ fun Color.deltaE(other: Color): Double { return min(this.deltaE1994(other) / 100, 1.0) } -/** - * Convert the color to the CIE XYZ color space within nominal range of [0.0, 1.0] - * using sRGB color space and D65 white reference white - */ /** * Convert the color to the CIE LAB color space using sRGB color space and D65 white reference white */