audio policy: Fix MT call delay
- When MT call is accepted, it is observed that it takes 3sec to start the voice call. Until then there is no audio heard on the far end. - AudioPolicyService processes setParameters calls in the order in which it receives them and when two setParameter calls with different keyValuePairs come in (in this case, FM volume with a delay and routing), the timestamp of the command received last (routing) is updated to be processed at the timestamp of the command received earlier (FM volume). FM volume is set with a delay which causes the delay in routing as well. - When two setParameter calls with different keyValuePairs reach AudioPolicyService from HAL, the timestamp of the command received later is updated to that of the command received first. This is unintended and might cause a delay or advance the processing of commands. - The timestamp of the command should be updated only if the keyValuePairs in the setParameters call match. Change-Id: I790479eaad9d2d6fd4204cc4cb7698761c30f7cf
Loading
Please register or sign in to comment