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

Commit 960b1b2f authored by Eric Laurent's avatar Eric Laurent
Browse files

Soundtrigger service: fix status reporting in loadSoundModel

Fix regression introduced by commit a188af07 cherry-pick
of fix for issue b/67310830

Bug: 64340921
Bug: 67310830

Test: repro steps in b/67310830
Change-Id: Ide98d22dca3a6ed81285f8b543ea31ee69f1e61b
Merged-In: I718f47d913e1b98e567b7e1559f1f4cc1b29b231
parent c5e5b382
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -583,7 +583,7 @@ status_t SoundTriggerHwService::Module::loadSoundModel(const sp<IMemory>& modelM
            unloadSoundModel_l(mModels.valueAt(0)->mHandle, &freedSession);
        }

        status_t status = mHwDevice->load_sound_model(mHwDevice,
        status = mHwDevice->load_sound_model(mHwDevice,
                                             sound_model,
                                             SoundTriggerHwService::soundModelCallback,
                                             this,