Skip to content

Commit

Permalink
feat: comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
yamilmedina committed Nov 8, 2024
1 parent 7b1400f commit ef361ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/kotlin/com/wire/android/util/ExifHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package com.wire.android.util
import android.graphics.Bitmap
import android.graphics.Matrix
import androidx.exifinterface.media.ExifInterface
import com.wire.android.appLogger

/**
* Used to remove unnecessary metadata from the image.
Expand Down Expand Up @@ -55,6 +56,7 @@ fun Bitmap.rotateImageToNormalOrientation(exif: ExifInterface?): Bitmap {
this.recycle()
rotated
} catch (exception: Exception) {
appLogger.withTextTag("ExifHandler").w("Failed to rotate image to normal orientation", exception)
this
}
}
Expand Down

0 comments on commit ef361ff

Please sign in to comment.