From 68040584741416c6e4393fa4e120b18f4ecba53d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 2 Dec 2023 02:46:47 +0100 Subject: [PATCH] Use androidx.exifinterface.media.ExifInterface which appearently is the same? --- app/build.gradle.kts | 1 + .../main/java/eu/steffo/twom/create/CreateActivityContent.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 871f4b2..e84242b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -70,6 +70,7 @@ dependencies { implementation("androidx.compose.ui:ui-graphics") implementation("androidx.compose.ui:ui-tooling-preview") implementation("androidx.compose.runtime:runtime-livedata:1.5.4") + implementation("androidx.exifinterface:exifinterface:1.3.6") testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.1.5") androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") diff --git a/app/src/main/java/eu/steffo/twom/create/CreateActivityContent.kt b/app/src/main/java/eu/steffo/twom/create/CreateActivityContent.kt index 7345670..1b32314 100644 --- a/app/src/main/java/eu/steffo/twom/create/CreateActivityContent.kt +++ b/app/src/main/java/eu/steffo/twom/create/CreateActivityContent.kt @@ -3,7 +3,6 @@ package eu.steffo.twom.create import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Matrix -import android.media.ExifInterface import android.net.Uri import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.PickVisualMediaRequest @@ -35,6 +34,7 @@ import androidx.compose.ui.semantics.contentDescription import androidx.compose.ui.semantics.semantics import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp +import androidx.exifinterface.media.ExifInterface import eu.steffo.twom.R import eu.steffo.twom.matrix.avatar.AvatarFromBitmap import eu.steffo.twom.theme.TwoMPadding