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

Commit cf91618e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge changes I2bb2cb29,Ie52ebe19 am: 991cfb08

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1561121

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If876225abf44b69ba31f57df0a93e91c14bef4d0
parents 98c362fd 991cfb08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -413,10 +413,10 @@ exit:
        *handle = (audio_patch_handle_t) mAudioFlinger.nextUniqueId(AUDIO_UNIQUE_ID_USE_PATCH);
        newPatch.mHalHandle = halHandle;
        mAudioFlinger.mDeviceEffectManager.createAudioPatch(*handle, newPatch);
        mPatches.insert(std::make_pair(*handle, std::move(newPatch)));
        if (insertedModule != AUDIO_MODULE_HANDLE_NONE) {
            addSoftwarePatchToInsertedModules(insertedModule, *handle, &newPatch.mAudioPatch);
        }
        mPatches.insert(std::make_pair(*handle, std::move(newPatch)));
    } else {
        newPatch.clearConnections(this);
    }