Unhide camera api for set display orientation.

This commit is contained in:
Chih-Chung Chang
2010-01-27 10:24:42 -08:00
parent 83e5ff09d5
commit e7bd22a9d9
2 changed files with 15 additions and 2 deletions

View File

@ -69645,6 +69645,19 @@
visibility="public"
>
</method>
<method name="setDisplayOrientation"
return="void"
abstract="false"
native="true"
synchronized="false"
static="false"
final="true"
deprecated="not deprecated"
visibility="public"
>
<parameter name="degrees" type="int">
</parameter>
</method>
<method name="setErrorCallback"
return="void"
abstract="false"

View File

@ -552,8 +552,8 @@ public class Camera {
* be called during preview.
*
* @param degrees the angle that the picture will be rotated clockwise.
* Valid values are 0, 90, 180, and 270.
* @hide
* Valid values are 0, 90, 180, and 270. The starting
* position is 0 (landscape).
*/
public native final void setDisplayOrientation(int degrees);