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

Commit 1934f7fe authored by Ethan Chen's avatar Ethan Chen
Browse files

Revert "Telecom: don't set incall state when call was disconnected"

This reverts commit 6e7ab5e7.

issue-id: CYNGNOS-497
Change-Id: I3b4c640c4acc26840fb52f4e969cc72f24b4a35b
(cherry picked from commit 7002dc36)
parent 5e624543
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -388,8 +388,7 @@ final class CallAudioManager extends CallsManagerListenerBase
            Call foregroundCall = getForegroundCall();
            Call waitingForAccountSelectionCall =
                    CallsManager.getInstance().getFirstCallWithState(CallState.PRE_DIAL_WAIT);
            if (foregroundCall != null && waitingForAccountSelectionCall == null
                    && foregroundCall.getState() != CallState.DISCONNECTED) {
            if (foregroundCall != null && waitingForAccountSelectionCall == null) {
                // In the case where there is a call that is waiting for account selection,
                // this will fall back to abandonAudioFocus() below, which temporarily exits
                // the in-call audio mode. This is to allow TalkBack to speak the "Call with"