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

Commit 2411a58e 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

am: dd3e6bd2

Change-Id: I3837917ce05af0e7add16c4e1e303c3f24c35492
parents 84e57726 dd3e6bd2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5429,6 +5429,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;
        }