commit | 86112351b499214284a4f52a6e0b4a38c81162cf | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Oct 04 09:02:49 2018 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Oct 04 09:07:19 2018 -0700 |
tree | 51feef4606253b8085589c55e3b89ff62bc75f9d | |
parent | 1a45cef93b8df626bed1d19e8830148627151d8b [diff] |
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