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

Commit 38db6655 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add Recorder Session ID"

parents 1712a903 5951998d
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -148,6 +148,19 @@ public class MediaRecorder implements AudioRouting,
                ActivityThread.currentOpPackageName());
    }

    /**
     * Sets the log session ID for MediaRecorder.
     *
     * <p>The log session ID is a random 32-byte hexadecimal string that is used for monitoring the
     * MediaRecorder performance.</p>
     *
     * @param id the global ID for monitoring the MediaRecorder performance
     * @hide
     */
    public void setLogSessionId(@NonNull String id) {
        setParameter("log-session-id=" + id);
    }

    /**
     * Sets a {@link android.hardware.Camera} to use for recording.
     *