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

Commit ccf85769 authored by Ravi Paluri's avatar Ravi Paluri
Browse files

Ims: Add support for Adhoc Conference calls

Add support for Adhoc Conference calls

Test: Manual
Bug: 62151032
Change-Id: If98df80ab0f3865b68cb7fa80ffac1890aaca58f
parent 7e17cda0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1125,6 +1125,7 @@ public class ImsCall implements ICall {

        synchronized(mLockObj) {
            mSession = session;
            mIsConferenceHost = true;

            try {
                session.setListener(createCallSessionListener());
@@ -2394,6 +2395,12 @@ public class ImsCall implements ICall {
                return;
            }

            if (mIsConferenceHost) {
                // If the dial request was a adhoc conf calling one, this call would have
                // been marked the conference host as part of the request.
                mIsConferenceHost = false;
            }

            ImsCall.Listener listener;

            synchronized(ImsCall.this) {
+1 −1
Original line number Diff line number Diff line
@@ -1929,7 +1929,7 @@ public class ImsManager implements IFeatureConnector {
        call.setListener(listener);
        ImsCallSession session = createCallSession(profile);

        if ((callees != null) && (callees.length == 1)) {
        if ((callees != null) && (callees.length == 1) && !(session.isMultiparty())) {
            call.start(session, callees[0]);
        } else {
            call.start(session, callees);