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

Commit f2baf44c authored by Andy Hung's avatar Andy Hung Committed by Android (Google) Code Review
Browse files

Merge "AudioFlinger: Fix moveEffects deadlock" into main

parents 899995e4 ae975470
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4567,6 +4567,10 @@ NO_THREAD_SAFETY_ANALYSIS
            if ((pt->type() == IAfThreadBase::MIXER || pt->type() == IAfThreadBase::OFFLOAD) &&
                    ((sessionType & IAfThreadBase::EFFECT_SESSION) != 0)) {
                srcThread = pt.get();
                if (srcThread == dstThread) {
                    ALOGD("%s() same dst and src threads, ignoring move", __func__);
                    return NO_ERROR;
                }
                ALOGW("%s() found srcOutput %d hosting AUDIO_SESSION_OUTPUT_MIX", __func__,
                      pt->id());
                break;