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

Commit 7836e8bb 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

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

Change-Id: I1382e282a2a6e8219140571dc3f0c3b30804b3e3
parents 720c5fd2 01bf6a0a
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,