diff options
author | 2025-01-08 17:27:34 +0000 | |
---|---|---|
committer | 2025-01-15 17:25:40 +0000 | |
commit | 9b74fc87eecd4da64e09392e4208c18ea2673341 (patch) | |
tree | da5fae30622e8d98770891464fe138666bf9a117 /libs/androidfw/LocaleDataLookup.cpp | |
parent | bbe32bb6788d6868fc1b79cf4245fffcbac44e40 (diff) |
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
Diffstat (limited to 'libs/androidfw/LocaleDataLookup.cpp')
0 files changed, 0 insertions, 0 deletions