commit | 30f2c3e4dcc365eb7658ffaf07205d81d2881f5b | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Thu Feb 08 14:02:15 2018 +0800 |
committer | Zhou Song <zhous@codeaurora.org> | Thu Feb 08 14:10:57 2018 +0800 |
tree | 3b7aa5b99d7c4ce5826db94e1f8c33c75a439f66 | |
parent | 939c563a0fdac7588dd44a7bf0b03c29d6b61686 [diff] |
hal: check use case type for force device switch Unnecessary input device switch can happen for capture use case when an output stream is started. Without type check, the input stream can be considered as an output stream, then force switch can be true for capture use cases. Do not check force device switch for input use cases. CRs-Fixed: 2183322 Change-Id: I5b1c7bf48cb2eae54c17ce7f2d4e8e6f496f8976