Mute RX device according to volume in set_voice_volume
Sends the "Rx Device Mute" mixer ctl with parameter 1 in platform_set_voice_volume when volume index matches the mute state. Sends the same ctl with parameter 0 in case RX stream should not be muted. Part of a change which enables apps with MODIFY_PHONE_STATE permission to mute the (Voice Call) RX stream. Bug: 71017264 Fixes: 71017264 Test: Tested manually Change-Id: I3e0b7b0d72f5c3e7b37e8c109067818153c82947
Loading
Please register or sign in to comment