Skip to content

Commit 8969ea1

Browse files
author
Wu-cheng Li
committed
Improve android.hardware.Camera.setRotation javadoc.
Change-Id: If6c77044f3f4567ab0c3987fb2ddc47ae307582a
1 parent 83cb580 commit 8969ea1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

core/java/android/hardware/Camera.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,13 +2508,13 @@ private int pixelFormatForCameraFormat(String format) {
25082508
}
25092509

25102510
/**
2511-
* Sets the rotation angle in degrees relative to the orientation of
2512-
* the camera. This affects the pictures returned from JPEG {@link
2513-
* PictureCallback}. The camera driver may set orientation in the
2514-
* EXIF header without rotating the picture. Or the driver may rotate
2515-
* the picture and the EXIF thumbnail. If the Jpeg picture is rotated,
2516-
* the orientation in the EXIF header will be missing or 1 (row #0 is
2517-
* top and column #0 is left side).
2511+
* Sets the clockwise rotation angle in degrees relative to the
2512+
* orientation of the camera. This affects the pictures returned from
2513+
* JPEG {@link PictureCallback}. The camera driver may set orientation
2514+
* in the EXIF header without rotating the picture. Or the driver may
2515+
* rotate the picture and the EXIF thumbnail. If the Jpeg picture is
2516+
* rotated, the orientation in the EXIF header will be missing or 1
2517+
* (row #0 is top and column #0 is left side).
25182518
*
25192519
* <p>If applications want to rotate the picture to match the orientation
25202520
* of what users see, apps should use {@link

0 commit comments

Comments
 (0)