commit | c46d0fa934514c05976ac37bda16d8345d9e4b90 | [log] [tgz] |
---|---|---|
author | Nadav Bar <nadavbar@google.com> | Sun Dec 24 14:50:37 2017 +0200 |
committer | Nadav Bar <nadavbar@google.com> | Sun Dec 24 14:28:51 2017 +0000 |
tree | 31e1999d801e679be59b2158048ce38c8af6bd54 | |
parent | f1aaf36b85df7377c5cd66cd1055dd766418f46b [diff] |
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