Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8c5b23df authored by Zheng Zhang's avatar Zheng Zhang
Browse files

audio: hal: fix click "resume call" two times will cause no sound in HFP call.

If click "resume call" many times when making hfp call, telecom will send
REQUEST_UNHOLD and call start_hfp in audio hal many times, then pcm_open
failed, and no sound will be heard when we make hfp call again. So return 0
at the beginning of start_hfp if hfp is already active.

Bug: 33226115
Bug: 33459120

Change-Id: I517918ef55fce96cf3761e04db89ed634250165f
parent ddad829c
Loading
Loading
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