commit | 2325bf07edfa494aa5a186aacdcc80ff0233adbe | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Apr 08 19:38:13 2020 -0700 |
committer | Eric Laurent <elaurent@google.com> | Thu Apr 09 10:03:30 2020 -0700 |
tree | 97c72fb106d9f84c2cbbb654b657ab928843f494 | |
parent | 967bfe95b6e95d4e590bb172826623e8a59664bd [diff] |
AudioFlinger: mute mic on primary HAL only Only the primary HAL has to support mic mute function. Ignore errors returned by other HALs in setMicMute() and only report mic mute state from primary HAL in getMicMute(). Bug: 153103117 Test: CTS AudioManagerTest.testMicrophoneMute Test: manual phone call and verify microphone mute. Change-Id: Ic121c49e7e7cd75eeee9342249271c7fca7c1c2a