diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/camera/processing/imagebackend/TaskCompressImageToJpeg.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/camera/processing/imagebackend/TaskCompressImageToJpeg.java b/src/com/android/camera/processing/imagebackend/TaskCompressImageToJpeg.java index 2e5976c46..e1d1689cc 100644 --- a/src/com/android/camera/processing/imagebackend/TaskCompressImageToJpeg.java +++ b/src/com/android/camera/processing/imagebackend/TaskCompressImageToJpeg.java @@ -95,8 +95,7 @@ public class TaskCompressImageToJpeg extends TaskJpegEncode { */ public Map<Integer, Integer> exifGetMinimalTags(ExifInterface exif) { Map<Integer, Integer> map = new HashMap<>(); - map.put(ExifInterface.TAG_ORIENTATION, - ExifInterface.getRotationForOrientationValue((short) Exif.getOrientation(exif))); + map.put(ExifInterface.TAG_ORIENTATION, Exif.getOrientation(exif)); map.put(ExifInterface.TAG_PIXEL_X_DIMENSION, exif.getTagIntValue( ExifInterface.TAG_PIXEL_X_DIMENSION)); map.put(ExifInterface.TAG_PIXEL_Y_DIMENSION, exif.getTagIntValue( |