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

Commit 7a17f7d8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "audioflinger: Initialize field in constructor" into sc-v2-dev am: 01bf6a0a am: 7836e8bb

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

Change-Id: Ib53f60ca75b87a6e311a15662f94e6440ea0ee38
parents 74377e47 7836e8bb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -565,6 +565,12 @@ private:
            : mChain(owner)
            , mThread(thread)
            , mAudioFlinger(*gAudioFlinger) {
            sp<ThreadBase> base = thread.promote();
            if (base != nullptr) {
                mThreadType = base->type();
            } else {
                mThreadType = ThreadBase::MIXER;  // assure a consistent value.
            }
        }

        status_t createEffectHal(const effect_uuid_t *pEffectUuid,