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

Commit 74a660a0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Adding atrace marker to MediaCodec::queueRequest" into main

parents 72ea9148 00aed6a3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4054,6 +4054,7 @@ final public class MediaCodec {
         * Finish building a queue request and queue the buffers with tunings.
         */
        public void queue() {
            Trace.traceBegin(Trace.TRACE_TAG_VIDEO, "MediaCodec::queueRequest-queue#java");
            if (!isAccessible()) {
                throw new IllegalStateException("The request is stale");
            }
@@ -4082,6 +4083,7 @@ final public class MediaCodec {
                        mTuningKeys, mTuningValues);
            }
            clear();
            Trace.traceEnd(Trace.TRACE_TAG_VIDEO);
        }

        @NonNull QueueRequest clear() {