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

Skip to content
Commit e792b33c authored by Hall Liu's avatar Hall Liu
Browse files

Modify CallAudioManager's audio speedup functionality

For certain calls, CallAudioManager will put the audio stream into the
in-call state before the connection service has acknowledged the call as
active. This was previously done by hardcoding a state transition in
CallAudioModeStateMachine. However, this had the potential to leave a
call stuck in CallAudioManager if the connection service subsequently
disconnected the call without setting to active after the user has
requested to answer the call.

This change solves this problem by changing the call state transition
code to go through all of its internal call tracking lists and remove the
call instead of only looking at the one corresponding to the state that
call was in.

Change-Id: Ica4a182fdd210a17ca58402062c8358d193d90c8
Fix: 28114043
parent fd33fefe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment