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

Commit 62672df4 authored by Chih-yu Huang's avatar Chih-yu Huang Committed by Android (Google) Code Review
Browse files

Merge "CCodec: log the component name when the codec is stuck" into sc-dev

parents 341f4d5c 82e5ab31
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2311,7 +2311,13 @@ void CCodec::initiateReleaseIfStuck() {
        return;
    }

    ALOGW("previous call to %s exceeded timeout", name.c_str());
    C2String compName;
    {
        Mutexed<State>::Locked state(mState);
        compName = state->comp->getName();
    }
    ALOGW("[%s] previous call to %s exceeded timeout", compName.c_str(), name.c_str());

    initiateRelease(false);
    mCallback->onError(UNKNOWN_ERROR, ACTION_CODE_FATAL);
}