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

Commit 045b6c98 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Create IMSConference to represent IMS conference calls.

- Removing check in ConnectionServiceWrapper which would prevent adding
a new confernece with no calls in it; an IMS conference by default will
have no calls.

Bug: 18200934
Change-Id: I2e70b9350e779310e8c4ee8e91bc8020b126bcfa
parent 7cdd04c8
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -200,20 +200,6 @@ final class ConnectionServiceWrapper extends ServiceBinder<IConnectionService> {
                        ParcelableConference parcelableConference =
                                (ParcelableConference) args.arg2;

                        // Make sure that there's at least one valid call. For remote connections
                        // we'll get a add conference msg from both the remote connection service
                        // and from the real connection service.
                        boolean hasValidCalls = false;
                        for (String callId : parcelableConference.getConnectionIds()) {
                            if (mCallIdMapper.getCall(callId) != null) {
                                hasValidCalls = true;
                            }
                        }
                        if (!hasValidCalls) {
                            Log.d(this, "Attempting to add a conference with no valid calls");
                            break;
                        }

                        // need to create a new Call
                        Call conferenceCall = mCallsManager.createConferenceCall(
                                null, parcelableConference);