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

Commit 83bfbf04 authored by Mengjun Leng's avatar Mengjun Leng Committed by android-build-merger
Browse files

Merge "Fix the call is soundless due another call is active"

am: 73ae8d85

Change-Id: Icea5827a93a69a2312b2435d3e6ffc78ce789b1f
parents 2819aba5 73ae8d85
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2501,6 +2501,11 @@ public class CallsManager extends Call.ListenerBase
        if (!mCalls.contains(call)) {
            Log.w(this, "Unknown call (%s) asked to be removed from hold", call);
        } else {
            if (getOutgoingCall() != null) {
                Log.w(this, "There is an outgoing call, so it is unable to unhold this call %s",
                        call);
                return;
            }
            Call activeCall = (Call) mConnectionSvrFocusMgr.getCurrentFocusCall();
            String activeCallId = null;
            if (activeCall != null && !activeCall.isLocallyDisconnecting()) {