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

Commit 1b8babe9 authored by Ajay Nambi's avatar Ajay Nambi Committed by Youming Ye
Browse files

IMS : Dont treat Conference participants as individual calls

Fixes the logic which considers conference participants as individual
calls while trying to check for held calls

Change-Id: I5db3dcfb1fa21117b513bc30d94f81f5f2916643
CRs-Fixed: 2263985
Bug: 111866760
parent 2d087215
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2444,6 +2444,7 @@ public class CallsManager extends Call.ListenerBase
    public Call getHeldCallByConnectionService(ConnectionServiceWrapper connSvr) {
        Optional<Call> heldCall = mCalls.stream()
                .filter(call -> call.getConnectionService() == connSvr
                        && call.getParentCall() == null
                        && call.getState() == CallState.ON_HOLD)
                .findFirst();
        return heldCall.isPresent() ? heldCall.get() : null;