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

Commit b2fe78f7 authored by Eric Laurent's avatar Eric Laurent
Browse files

IAudioFlinger: fix early return in createEffect

Bug: 112161565
Test: make
Change-Id: I7056ed1a3454c7e0fbe692029f75fe5b50c4c42f
parent c74e507e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -634,10 +634,10 @@ public:
        sp<IEffect> effect;

        if (pDesc == NULL) {
            return effect;
            if (status != NULL) {
                *status = BAD_VALUE;
            }
            return effect;
        }

        data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());