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

Commit a5bf4e03 authored by Ronghua Wu's avatar Ronghua Wu Committed by Android (Google) Code Review
Browse files

Merge "Revert "stagefright: define CB_CODEC_RELEASED and ReleaseReason enum.""

parents 7233234a 99acce45
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -56,13 +56,7 @@ struct MediaCodec : public AHandler {
        CB_OUTPUT_AVAILABLE = 2,
        CB_ERROR = 3,
        CB_OUTPUT_FORMAT_CHANGED = 4,
        CB_CODEC_RELEASED = 5,
    };

    // used by CB_CODEC_RELEASED to tell the upper layer the cause of the release.
    enum ReleaseReason {
        REASON_UNKNOWN = 0,
        REASON_RECLAIMED,  // resources reclaimed by resource manager
        CB_RESOURCE_RECLAIMED = 5,
    };

    struct BatteryNotifier;