Skip to content
Snippets Groups Projects
Commit 9a2f2372 authored by Smriti Gupta's avatar Smriti Gupta
Browse files

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
parent 08cc0b9e
No related branches found
No related tags found
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