commit | f6ba0ba1e747ad6bd87641a0080e7b2671da9849 | [log] [tgz] |
---|---|---|
author | Weiyin Jiang <wjiang@codeaurora.org> | Tue Sep 18 18:07:49 2018 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Sep 18 03:10:46 2018 -0700 |
tree | e4e5b7d461f79f3972a2303894b3abf7faa622f4 | |
parent | a08b7aa5b29c60a5128787e8a3f3e4009b0e80a8 [diff] |
audio: check for USB device state when opening in/out stream Check for USB headset device state when opening in/out stream, and report error if USB headset is not in connected state. That's to handle error condition gracefully to avoid further crashes in audio flinger. Change-Id: Ib33489fec00ac0b5c500fc1fa2dbeb021b51cbef CRs-Fixed: 2261252