remove a writeexif line when opening weird images, like K9 attachments
This commit is contained in:
parent
cf4bb250fe
commit
b6ee141c9c
|
@ -61,7 +61,6 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
val file = File(context.externalCacheDir, Uri.parse(originalPath).lastPathSegment)
|
||||
out = FileOutputStream(file)
|
||||
rotated.compress(Bitmap.CompressFormat.JPEG, 100, out)
|
||||
exif.writeExif(rotated, file.absolutePath, 100)
|
||||
medium.path = file.absolutePath
|
||||
} catch (e: Exception) {
|
||||
context.toast(R.string.unknown_error_occurred)
|
||||
|
|
Loading…
Reference in New Issue