commit | ae3196f7578877f00c7529d36e0a4dc207287574 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Fri Jun 08 14:05:12 2018 -0700 |
committer | jiabin <jiabin@google.com> | Fri Jun 08 15:02:08 2018 -0700 |
tree | fd50e4163c6838c2b203fe34e14ad87d711c7fc2 | |
parent | 8107480e208ba7f3aac453a7d4df91f72688e960 [diff] |
Fix getActiveMicrophones vts failure. As there could be no mic on the device, the active microphones may not always exist. With currently implementation in qcom hal, we need to start the stream to have active microphones. In that case, just check the return value of the call. Bug: 109787938 Test: vts-tradefed run vts --module VtsHalAudioV4_0Target Change-Id: Ia9f5160a278d6c788f8f5eb17b8b276fe1d66076