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

Commit 57d22a74 authored by Chia-chi Yeh's avatar Chia-chi Yeh Committed by Android (Google) Code Review
Browse files

Merge "Do not set back to AudioManager.MODE_NORMAL in SipAudioCall."

parents e4a04989 4bf82df2
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -999,16 +999,6 @@ public class SipAudioCall {

        if (isWifiOn()) grabWifiHighPerfLock();

        if (!mHold) {
            /* The recorder volume will be very low if the device is in
             * IN_CALL mode. Therefore, we have to set the mode to NORMAL
             * in order to have the normal microphone level.
             */
            ((AudioManager) mContext.getSystemService
                    (Context.AUDIO_SERVICE))
                    .setMode(AudioManager.MODE_NORMAL);
        }

        // AudioGroup logic:
        AudioGroup audioGroup = getAudioGroup();
        if (mHold) {