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

Commit dbc289d6 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Bug 3438513 Fix incorrect throws clause

Change-Id: Ib47c12b2b03b0b03d8df69f1b943839283c9f867
parent b6dd088a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -90761,6 +90761,8 @@
>
<parameter name="surfaceTexture" type="android.graphics.SurfaceTexture">
</parameter>
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
<method name="setZoomChangeListener"
 return="void"
+2 −0
Original line number Diff line number Diff line
@@ -90906,6 +90906,8 @@
>
<parameter name="surfaceTexture" type="android.graphics.SurfaceTexture">
</parameter>
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
<method name="setZoomChangeListener"
 return="void"
+2 −2
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ public class Camera {
        }
    }

    private native final void setPreviewDisplay(Surface surface);
    private native final void setPreviewDisplay(Surface surface) throws IOException;

    /**
     * Sets the {@link SurfaceTexture} to be used for live preview.
@@ -380,7 +380,7 @@ public class Camera {
     * @throws IOException if the method fails (for example, if the surface
     *     texture is unavailable or unsuitable).
     */
    public native final void setPreviewTexture(SurfaceTexture surfaceTexture);
    public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException;

    /**
     * Callback interface used to deliver copies of preview frames as