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

Commit 062abb7b authored by Chenjie Luo's avatar Chenjie Luo
Browse files

DO NOT MERGE ANYWHERE Unmute the call after all calls are disconnected

Bug: 28075427
Change-Id: I14409b20e662d77c344b70252b2d40e172e0f222
parent d4ac741f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -632,6 +632,8 @@ final class CallAudioManager extends CallsManagerListenerBase
    private void abandonAudioFocus() {
        if (hasFocus()) {
            setMode(AudioManager.MODE_NORMAL);
            // Unmute after call is finished
            mute(false);
            Log.v(this, "abandoning audio focus");
            mAudioManagerHandler.obtainMessage(MSG_AUDIO_MANAGER_ABANDON_AUDIO_FOCUS_FOR_CALL, 0, 0)
                    .sendToTarget();