mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-04 18:48:31 +00:00
Only JPEG files contain EXIF data
This commit is contained in:
parent
e96e9e2db6
commit
0c5ad351d7
1 changed files with 1 additions and 1 deletions
|
@ -1551,7 +1551,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
options.outHeight / factor > REDUCED_IMAGE_SIZE)
|
||||
factor *= 2;
|
||||
|
||||
Matrix rotation = getImageRotation(file);
|
||||
Matrix rotation = ("image/jpeg".equals(attachment.type) ? getImageRotation(file) : null);
|
||||
|
||||
if (factor > 1 || rotation != null) {
|
||||
options.inJustDecodeBounds = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue