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

Skip to content
Commit 821dc9cf authored by Zhou Song's avatar Zhou Song Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 937d484d
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