Mute RX device according to volume in set_voice_volume
Port the following change from msm8974 platform 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. (original change id I3e0b7b0d72f5c3e7b37e8c109067818153c82947) Change-Id: Idaf8a949733dcdc32a9b9eff0316013de6f799ce Bug: 72278858 Test: Port of code currently used for 8974.
Loading
Please register or sign in to comment