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

Commit 6b00addb authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "MediaCodec: define ID for metrics flushed callback" into main am: da43aa5a am: 69437282

parents 932e957a 69437282
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -123,6 +123,13 @@ struct MediaCodec : public AHandler {
        CB_RESOURCE_RECLAIMED = 5,
        CB_CRYPTO_ERROR = 6,
        CB_LARGE_FRAME_OUTPUT_AVAILABLE = 7,

        /** Callback ID for when the metrics for this codec have been flushed
         * due to the start of a new subsession. The associated AMessage will
         * contain an sp<WrapperObject<std::unique_ptr<mediametrics::Item>>>
         * Object at the "metrics" key.
         */
        CB_METRICS_FLUSHED = 8,
    };

    static const pid_t kNoPid = -1;