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

Commit c0f2dd07 authored by Roshan Pius's avatar Roshan Pius Committed by Android Git Automerger
Browse files

am 32466b77: Merge "Don\'t request audio focus on call rejection." into mnc-dr-dev

* commit '32466b77':
  Don't request audio focus on call rejection.
parents 9a017a3c 32466b77
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -520,7 +520,9 @@ final class CallAudioManager extends CallsManagerListenerBase
                Log.v(this, "updateAudioStreamAndMode : no foreground, speeding up MT audio.");
                requestAudioFocusAndSetMode(AudioManager.STREAM_VOICE_CALL,
                                                         AudioManager.MODE_IN_CALL);
            } else if (foregroundCall != null && waitingForAccountSelectionCall == null) {
            } else if (foregroundCall != null &&
                    foregroundCall.getState() != CallState.DISCONNECTED  &&
                    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"