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.
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Merged-In: Ic121c49e7e7cd75eeee9342249271c7fca7c1c2a
Change-Id: Icde20a0da2e10eb1b7ac17b4a901d27fe0dca9c6
1 file changed