From efe19f25f775e78ee7d4a1a452b2623c5479db35 Mon Sep 17 00:00:00 2001 From: Shobhit Agarwal Date: Sat, 24 Aug 2024 11:54:15 +0530 Subject: [PATCH] Fix warning to use androidx --- .../ui/datacollection/tasks/photo/PhotoTaskViewModel.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/photo/PhotoTaskViewModel.kt b/ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/photo/PhotoTaskViewModel.kt index b73b52b870..addf10aebe 100644 --- a/ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/photo/PhotoTaskViewModel.kt +++ b/ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/photo/PhotoTaskViewModel.kt @@ -19,8 +19,8 @@ import android.content.Context import android.content.res.Resources import android.graphics.Bitmap import android.graphics.Matrix -import android.media.ExifInterface import android.net.Uri +import androidx.exifinterface.media.ExifInterface import androidx.lifecycle.LiveData import androidx.lifecycle.asLiveData import com.google.android.ground.model.submission.PhotoTaskData @@ -30,10 +30,10 @@ import com.google.android.ground.repository.UserMediaRepository import com.google.android.ground.ui.datacollection.tasks.AbstractTaskViewModel import com.google.android.ground.ui.util.BitmapUtil import dagger.hilt.android.qualifiers.ApplicationContext -import kotlinx.coroutines.flow.map -import timber.log.Timber import java.io.IOException import javax.inject.Inject +import kotlinx.coroutines.flow.map +import timber.log.Timber class PhotoTaskViewModel @Inject