commit | 05428b787e28e6c5bcf4a4477e8922373e0be23e | [log] [tgz] |
---|---|---|
author | Weiyin Jiang <wjiang@codeaurora.org> | Wed Mar 25 14:00:46 2020 +0800 |
committer | Weiyin Jiang <wjiang@codeaurora.org> | Fri May 15 15:01:51 2020 +0800 |
tree | e9ca34b1c8169cf18213491ae3032d4f0533584c | |
parent | 156d8e70df4396b0e5071061d60c203c7dd637e4 [diff] |
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: 2648183 Change-Id: Ic3f2ebeb0f9db11a7fe4d7c2bd4136f6db0497aa