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

Skip to content
Commit abedea39 authored by Weiyin Jiang's avatar Weiyin Jiang Committed by Gerrit - the friendly Code Review server
Browse files

hal: replace with a proper usb detection method

If USB is not the first sink, audioflinger stream setParam won't pass
usb card info as a part of routing parameter. Hence, the usb check
method which relies on card info is useless. Replace with
usb_connected() that enumerates all usb card.

CRs-Fixed: 2859914
Change-Id: Ic3f2ebeb0f9db11a7fe4d7c2bd4136f6db0497aa
parent daa27ca9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment