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

Skip to content
Commit 86112351 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

audiopolicy: Fix crash in getMsdPatches

Added a missing check for the possibility of not having an MSD module.
Remove a check for the module handle, as mHwModules by design
can't contain modules with AUDIO_MODULE_HANDLE_NONE (see
AudioPolicyManager::initialize).

Bug: 117253728
Test: see the repro steps in the bug
Change-Id: Ia8761a2e3ceccf9595b672c8ba48e086b457e3ae
parent 1a45cef9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment