Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f441f630 authored by Haynes Mathew George's avatar Haynes Mathew George Committed by Nadav Bar
Browse files

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.
parent d2b5ef4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment