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

Commit 99acce45 authored by Ronghua Wu's avatar Ronghua Wu
Browse files

Revert "stagefright: define CB_CODEC_RELEASED and ReleaseReason enum."

This reverts commit ea20d117.

Change-Id: Ia77448a81429814e6915eca9c1cd854ca0e623cc
parent ea20d117
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -51,13 +51,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;