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

Commit c046bbaa authored by Owen Lin's avatar Owen Lin Committed by Android (Google) Code Review
Browse files

Merge "Rotate the image according to FullImageRotation."

parents bfc7422b 2c3c5175
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);