audiopolicy: Fix for isStateInCall() do not return proper status
After call disconnected, there is an incoming call again. The isStateInCall() will return IN_CALL status even the phone is in RINGTONE status. This is happening due to incorrect call status select logic in APM. Fix this by ensuring IN_CALL status selection only when audio mode is AUDIO_MODE_IN_CALL or AUDIO_MODE_IN_COMMUNICATION. CRs-Fixed: 855041 Change-Id: I318d098bf1727bd3d9073df9dc163f96e8de7b97
Loading
Please register or sign in to comment