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

Commit f393c33e authored by Wei Jia's avatar Wei Jia
Browse files

ACodec: process deferred messages when entering Loaded state.

Bug: 17792260
Change-Id: Ie8154cf41be5672fc8a9f3a2a82b7ede0a8b828f
parent c4da004d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4551,6 +4551,8 @@ void ACodec::LoadedState::stateEntered() {
        onShutdown(keepComponentAllocated);
    }
    mCodec->mExplicitShutdown = false;

    mCodec->processDeferredMessages();
}

void ACodec::LoadedState::onShutdown(bool keepComponentAllocated) {