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

Skip to content
Commit 9661aa7f authored by Aniket Kumar Lata's avatar Aniket Kumar Lata Committed by Gerrit - the friendly Code Review server
Browse files

hal: Remove mode check on open input for Telephony Rx device

Existing code checks for AUDIO_MODE_IN_CALL during open input
stream for Telephony Rx device. However, Telephony Rx is an
attached device and APM tries input stream open for all attached
devices with default attributes during initialization to check if
device is supported by HAL. The mode check in HAL prevents
Telephony Rx from getting attached to primary module. Fix this by
removing the mode check that does not account for above scenario.

Change-Id: Ic149f38a5d50c8608b82309426d0f8794382a941
parent 198adc00
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