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

Commit f22c524d authored by Anju Mathapati's avatar Anju Mathapati Committed by Android Git Automerger
Browse files

am c88574c7: IMS: Add phoneaccount to ims conference call.

* commit 'c88574c7':
  IMS: Add phoneaccount to ims conference call.
parents 4eb99014 c88574c7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1304,6 +1304,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.
+8 −3
Original line number Diff line number Diff line
@@ -203,13 +203,18 @@ final class ConnectionServiceWrapper extends ServiceBinder<IConnectionService> {
                                (ParcelableConference) args.arg2;

                        // need to create a new Call
                        PhoneAccountHandle phAcc = null;
                        if (parcelableConference != null &&
                                parcelableConference.getPhoneAccount() != 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);