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

Commit 0047ce7e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 24fd2f7d ec69aafe
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;
        }