FM: FMRadio will wait for the focus from telecom repeatedly
Whenever call is getting ended, FM requests Audio Focus before Telecom abandons it, There is delay for about 50ms. Now, with this change FMRadio will wait for 300 ms to get the focus back from the telecom. Generally, both FM and Playing Tone for call end are dependent on call state changed, so the progress of receiving is in parallel. But due FM gets callback via remote calling, it is always slower than Telecom. Currently for N, the audio_focus_release had been moved into state machine (in work thread), so the issue becomes easy to see. We cannot serial the call_status_change and the audio_focus_release. Because Telecom also need to wait DISCONNECTED to paly tone, after completed to abandon it. So need FM needs to handle it by waiting for some more time. CRs-fixed: 1061550 Change-Id: I7676b6816d5c89934bf2360811ea0b1bb2fb850b
Loading
Please register or sign in to comment