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

Skip to content
Commit 8603adbe authored by Pranav Madapurmath's avatar Pranav Madapurmath
Browse files

Clear communication device after audio ops finish

Modifies the existing logic to ensure that after the call ends, the
currently requested device for communication is cleared once the audio
operations are complete.

A bug had surfaced for an uncommon case where the audio mode would enter
the unfocused state before a bt device disconnected, resulting in
Telecom clearing the bt device from communication. However, once the bt
device was disconnected, the route entered the ActiveEarpieceRoute,
which caused the earpiece to be set for communication (but it never got
cleared). This CL moves the existing logic to after when
AUDIO_OPERATIONS_COMPLETE is processed in the UnfocusedState instead to
resolve the timing issues with the BT device disconnect and the audio
mode entering the unfocused state.

Bug: 315865533
Test: Manual
Change-Id: If88dbedb9ef505b1508273e8ad98a463b791ed71
parent ab69c956
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