remove a writeexif line when opening weird images, like K9 attachments

This commit is contained in:
tibbi 2017-01-23 19:33:44 +01:00
parent cf4bb250fe
commit b6ee141c9c
1 changed files with 0 additions and 1 deletions

View File

@ -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)