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

Commit a818e8bc authored by Hall Liu's avatar Hall Liu Committed by android-build-merger
Browse files

Don't unmute when answering a handover connection am: 25921e8d

am: 7b1c2149

Change-Id: Ibb9df205ed265477eaffba206259f1483da8e80e
parents 4fc672a3 7b1c2149
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -232,8 +232,10 @@ public class CallAudioManager extends CallsManagerListenerBase {
            }
        }

        // Turn off mute when a new incoming call is answered.
        // Turn off mute when a new incoming call is answered iff it's not a handover.
        if (!call.isHandoverInProgress()) {
            mute(false /* shouldMute */);
        }

        maybeStopRingingAndCallWaitingForAnsweredOrRejectedCall(call);
    }