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

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

am d0f356b6: am 51c3462c: am c0f2dd07: am 32466b77: Merge "Don\'t request...

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

* commit 'd0f356b6':
  Don't request audio focus on call rejection.
parents 2cfeefef d0f356b6
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"