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

Commit 9b74fc87 authored by jiabin's avatar jiabin
Browse files

Update the logic of determining if a peripheral is input headset or not.

1. Reduce the probability of being input headset if the mic has more
   than 1 channel.
2. Only report a peripheral being a headset if it is also an output
   headset.

Bug: 359667158
Test: connecting USB device and check the reported device type
Flag: EXEMPT bugfix
Change-Id: Ia43ccf95a24f3be703b8c92db801a30ca2f02c45
parent bbe32bb6
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