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

Commit e33ca6fd authored by Ravneet Dhanjal's avatar Ravneet Dhanjal
Browse files

Camera: Update JPEG_ORIENTATION doc to clarify Image behavior

Test: CTS
Bug: 322420249
Change-Id: I721cad1dc12197c7ee4b2d9ccba80a74f253afd4
parent 8fcf2fa7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2686,7 +2686,9 @@ typedef enum acamera_metadata_tag {
     * upright.</p>
     * <p>Camera devices may either encode this value into the JPEG EXIF header, or
     * rotate the image data to match this orientation. When the image data is rotated,
     * the thumbnail data will also be rotated.</p>
     * the thumbnail data will also be rotated. Additionally, in the case where the image data
     * is rotated, <a href="https://developer.android.com/reference/android/media/Image.html#getWidth">Image#getWidth</a> and <a href="https://developer.android.com/reference/android/media/Image.html#getHeight">Image#getHeight</a>
     * will not be updated to reflect the height and width of the rotated image.</p>
     * <p>Note that this orientation is relative to the orientation of the camera sensor, given
     * by ACAMERA_SENSOR_ORIENTATION.</p>
     * <p>To translate from the device orientation given by the Android sensor APIs for camera