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

Skip to content
Commit 0a2a0175 authored by WhaleChang's avatar WhaleChang
Browse files

Floss: Fix RingCentral microphone mute desync with headset

When sending a 0x09, 0x2f (Phone Mute) input report to RingCentral,
if the value is 0 (meaning unmute), RingCentral will not react.

The root cause is RingCentral treats 0x09, 0x2f (Phone Mute) as a
toggle event instead of OOC (on/off) control. Only sending 1 with 0x09,
0x2f (Phone Mute) can toggle the microphone status on RingCentral.
phone_mute=0 will be treated as no-ops.

We also found that USB resolving this issue by sending additional
phone_mute=1 event during unmute, so we follow this behavior in bt telephony.

Bug: 333847153
Bug: 329280858
Test: Conduct the following manual tests
  pair Bluetooth Headset
  Google Meet: headset is able mute/unmute via headset and the mute status sync with Meet
  RingCentral: headset is able mute/unmute via headset and the mute status sync with RingCentral
Test: atest bluetooth_test_gd
Tag: #floss
Flag: EXEMPT, no behavior change on Android; Floss-only changes

Change-Id: I6bd95681c9f58b426aef4fe630a0952c5ffaad44
parent ba2e6728
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