Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c3c5175 authored by Owen Lin's avatar Owen Lin
Browse files

Rotate the image according to FullImageRotation.

Change-Id: I2c1285aa50b71e0efdbe3c4c50264e42c7b9ab97
fix: 5389974
parent 338d029f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -541,7 +541,7 @@ public class CropImage extends AbstractGalleryActivity {
            return result;
        }

        int rotation = mMediaItem.getRotation();
        int rotation = mMediaItem.getFullImageRotation();
        rotateRectangle(rect, mCropView.getImageWidth(),
                mCropView.getImageHeight(), 360 - rotation);
        rotateRectangle(dest, outputX, outputY, 360 - rotation);