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

Commit e7bd22a9 authored by Chih-Chung Chang's avatar Chih-Chung Chang
Browse files

Unhide camera api for set display orientation.

parent 83e5ff09
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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"
+2 −2
Original line number Diff line number Diff line
@@ -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);