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

Skip to content
Commit 060c6919 authored by jiabin's avatar jiabin Committed by Android Build Coastguard Worker
Browse files

Fix USB power regression when connecting USB headset during phone/voip call.

When a bi-direction USB device plugged in, first connect the output device and then the input device. The policy will prefer the paired input and output device. Connecting USB output device first can make the USB input device be used for phone/voip call once it is available.

Also cache if the USB device support jack detect to avoid opening mixer when the jack detect is not supported.

Bug: 282094846
Test: make
Test: repo steps in the bug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:96fbf175893c5ebba1b66b458c3521bfb4123a24)
Merged-In: I7cc10b63c887493da284c8fad4384ee68bfd9337
Change-Id: I7cc10b63c887493da284c8fad4384ee68bfd9337
parent 205d8a47
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