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

Commit df2908f9 authored by Wonsik Kim's avatar Wonsik Kim
Browse files

media: unhide MediaRecorder.pause()/resume()

Bug: 20092236
Change-Id: I315b6dd3282ee1b445b76d14aef4a0ddc9a9ff9a
parent fe434a15
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -20764,9 +20764,11 @@ package android.media {
    method public static final int getAudioSourceMax();
    method public int getMaxAmplitude() throws java.lang.IllegalStateException;
    method public android.view.Surface getSurface();
    method public void pause() throws java.lang.IllegalStateException;
    method public void prepare() throws java.io.IOException, java.lang.IllegalStateException;
    method public void release();
    method public void reset();
    method public void resume() throws java.lang.IllegalStateException;
    method public void setAudioChannels(int);
    method public void setAudioEncoder(int) throws java.lang.IllegalStateException;
    method public void setAudioEncodingBitRate(int);
+2 −0
Original line number Diff line number Diff line
@@ -22110,9 +22110,11 @@ package android.media {
    method public static final int getAudioSourceMax();
    method public int getMaxAmplitude() throws java.lang.IllegalStateException;
    method public android.view.Surface getSurface();
    method public void pause() throws java.lang.IllegalStateException;
    method public void prepare() throws java.io.IOException, java.lang.IllegalStateException;
    method public void release();
    method public void reset();
    method public void resume() throws java.lang.IllegalStateException;
    method public void setAudioChannels(int);
    method public void setAudioEncoder(int) throws java.lang.IllegalStateException;
    method public void setAudioEncodingBitRate(int);
+2 −0
Original line number Diff line number Diff line
@@ -20772,9 +20772,11 @@ package android.media {
    method public static final int getAudioSourceMax();
    method public int getMaxAmplitude() throws java.lang.IllegalStateException;
    method public android.view.Surface getSurface();
    method public void pause() throws java.lang.IllegalStateException;
    method public void prepare() throws java.io.IOException, java.lang.IllegalStateException;
    method public void release();
    method public void reset();
    method public void resume() throws java.lang.IllegalStateException;
    method public void setAudioChannels(int);
    method public void setAudioEncoder(int) throws java.lang.IllegalStateException;
    method public void setAudioEncodingBitRate(int);
+0 −2
Original line number Diff line number Diff line
@@ -821,7 +821,6 @@ public class MediaRecorder
     *
     * @throws IllegalStateException if it is called before start() or after
     * stop()
     * {@hide}
     */
    public native void pause() throws IllegalStateException;

@@ -832,7 +831,6 @@ public class MediaRecorder
     * @throws IllegalStateException if it is called before start() or after
     * stop()
     * @see android.media.MediaRecorder#pause
     * {@hide}
     */
    public native void resume() throws IllegalStateException;