commit | 3ec42ef6b63854c8563ca9870b6c58dd7de4d5c6 | [log] [tgz] |
---|---|---|
author | Pavan Chikkala <pavanc@codeaurora.org> | Fri Nov 21 20:57:48 2014 +0530 |
committer | Pavan Chikkala <pavanc@codeaurora.org> | Tue Nov 25 11:28:46 2014 +0530 |
tree | 8cdf8733c91aa68fe4df480e4ca34bc9e335f4c5 | |
parent | 0f7a0b26d5236d9f05fe995aff1023689da3de05 [diff] |
audio: Reject incall record request when call is not active - If application selects AUDIO_SOURCE_VOICE_CALL when voice call is not active, audio HAL is selecting afe-proxy use case which is wrong. afe-proxy usecase/device expected to be selected during USB Voice call scenario only - Fix is to fail opening the input stream with AUDIO_DEVICE_IN_TELEPHONY_RX or AUDIO_DEVICE_IN_VOICE_CALL if the call is not active Change-Id: Iae2d25d192b3b5011dd45816778ffc03d3049449