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

Commit 200d67dc authored by Ajay Nambi's avatar Ajay Nambi Committed by android-build-merger
Browse files

IMS : Dont treat Conference participants as individual calls

am: 1b8babe9

Change-Id: I79c3caa43195c3f79eeadacb35c018b1de7598b3
parents 487955b5 1b8babe9
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;