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

Commit cabf00a5 authored by Shriram Ganesh's avatar Shriram Ganesh Committed by Gerrit - the friendly Code Review server
Browse files

Add support for SRVCC Conference with greater than 3 participants

The phantom call mechanism that is used to notify the participants
of conference call during SRVCC, notifies only the last unknown
connection. During SRVCC conference call, all the participants
after the first are using the phantom call mechanism and hence
each unknown connection resulting should have a seperate notify
from frameworks.

Change-Id: I2f306076f6f3a28235186e544d05ace042533091
CRs-Fixed: 773843
parent a651423d
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -436,7 +436,8 @@ public final class GsmCallTracker extends CallTracker {
        }

        Connection newRinging = null; //or waiting
        Connection newUnknown = null;
        ArrayList<Connection> newUnknownConnections =
            new ArrayList<Connection>();
        boolean hasNonHangupStateChanged = false;   // Any change besides
                                                    // a dropped connection
        boolean hasAnyCallDisconnected = false;
@@ -529,7 +530,7 @@ public final class GsmCallTracker extends CallTracker {
                            }
                        }

                        newUnknown = mConnections[i];
                        newUnknownConnections.add(mConnections[i]);

                        unknownConnectionAppeared = true;
                    }
@@ -652,7 +653,10 @@ public final class GsmCallTracker extends CallTracker {
        updatePhoneState();

        if (unknownConnectionAppeared) {
            mPhone.notifyUnknownConnection(newUnknown);
           for (Connection c : newUnknownConnections) {
               log("Notify unknown for " + c);
               mPhone.notifyUnknownConnection(c);
           }
        }

        if (hasNonHangupStateChanged || newRinging != null || hasAnyCallDisconnected) {