commit | 86ca17de5b96433da2b0cc4e0cdfec42a3ff1b3d | [log] [tgz] |
---|---|---|
author | yidongh <yidongh@codeaurora.org> | Tue Aug 30 18:28:01 2016 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Sep 06 19:25:25 2016 -0700 |
tree | 01b5697fe71c65fefa6646125e6e1f230872cd61 | |
parent | fb37d9fb8c543215528219a1e2f81a7bbe59e2fa [diff] |
hal: refine conditional logic when device connected/disconnected When non-USB in device is connected, the device will be wrongly treated as AUDIO_DEVICE_IN_USB_DEVICE, which causes AFE proxy being disabled. Remove AUDIO_DEVICE_BIT_IN when checking device type to avoid wrong device type selection. CRs-Fixed: 1061424 Change-Id: I9086325d44106d683d31e6ddc366a4b5e18d19ea