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

Commit 43371300 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "IMS: Add phoneaccount to ims conference call."

parents ce0d89da 7a57cc29
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1520,6 +1520,8 @@ public final class CallsManager extends Call.ListenerBase {
            // NOTE: If the amount of live calls changes beyond 1, this logic will probably
            // have to change.
            Call liveCall = getFirstCallWithState(call, LIVE_CALL_STATES);
            Log.i(this, "makeRoomForOutgoingCall call = " + call + " livecall = " +
                   liveCall);

            if (call == liveCall) {
                // If the call is already the foreground call, then we are golden.
+7 −3
Original line number Diff line number Diff line
@@ -241,13 +241,17 @@ final class ConnectionServiceWrapper extends ServiceBinder<IConnectionService> {
                                (ParcelableConference) args.arg2;

                        // need to create a new Call
                        PhoneAccountHandle phAcc = null;
                        if (parcelableConference != null) {
                            phAcc = parcelableConference.getPhoneAccount();
                        }
                        Call conferenceCall = mCallsManager.createConferenceCall(
                                null, parcelableConference);
                                phAcc, parcelableConference);
                        mCallIdMapper.addCall(conferenceCall, id);
                        conferenceCall.setConnectionService(ConnectionServiceWrapper.this);

                        Log.d(this, "adding children to conference %s",
                                parcelableConference.getConnectionIds());
                        Log.d(this, "adding children to conference %s phAcc %s",
                                parcelableConference.getConnectionIds(), phAcc);
                        for (String callId : parcelableConference.getConnectionIds()) {
                            Call childCall = mCallIdMapper.getCall(callId);
                            Log.d(this, "found child: %s", callId);