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

Commit dd3e6bd2 authored by Wonsik Kim's avatar Wonsik Kim Committed by android-build-merger
Browse files

Merge "ACodec: transition to UNINITIALIZED after force release" into oc-dev

am: 0047ce7e

Change-Id: If04f7a128678a1649124c63546afea6319af9e5d
parents 35f18eb7 0047ce7e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5401,6 +5401,8 @@ bool ACodec::BaseState::onMessageReceived(const sp<AMessage> &msg) {
            ALOGE_IF("[%s] failed to release codec instance: err=%d",
                       mCodec->mComponentName.c_str(), err);
            mCodec->mCallback->onReleaseCompleted();

            mCodec->changeState(mCodec->mUninitializedState);
            break;
        }