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

Commit e460d400 authored by Grace Jia's avatar Grace Jia Committed by Automerger Merge Worker
Browse files

Merge "Fix GsmCdmaCallTracker bug." into rvc-dev am: 1b9cd84d am: 2762d446

Change-Id: I4ff202162838da6a1e83d1143cba8bed78e825c6
parents d45961bf 2762d446
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -931,19 +931,21 @@ public class GsmCdmaCallTracker extends CallTracker {
                    // Loop through foreground call connections as
                    // it contains the known logical connections.
                    ArrayList<Connection> connections = mForegroundCall.getConnections();
                    int count = connections.size();
                    for (int n = 0; n < count; n++) {
                        if (Phone.DEBUG_PHONE) log("adding fgCall cn " + n + " to droppedDuringPoll");
                        GsmCdmaConnection cn = (GsmCdmaConnection) connections.get(n);
                        mDroppedDuringPoll.add(cn);
                    for (Connection cn : connections) {
                        if (Phone.DEBUG_PHONE) {
                            log("adding fgCall cn " + cn + "to droppedDuringPoll");
                        }
                        mDroppedDuringPoll.add((GsmCdmaConnection) cn);
                    }
                    count = mRingingCall.getConnectionsCount();

                    connections = mRingingCall.getConnections();
                    // Loop through ringing call connections as
                    // it may contain the known logical connections.
                    for (int n = 0; n < count; n++) {
                        if (Phone.DEBUG_PHONE) log("adding rgCall cn " + n + " to droppedDuringPoll");
                        GsmCdmaConnection cn = (GsmCdmaConnection) connections.get(n);
                        mDroppedDuringPoll.add(cn);
                    for (Connection cn : connections) {
                        if (Phone.DEBUG_PHONE) {
                            log("adding rgCall cn " + cn + "to droppedDuringPoll");
                        }
                        mDroppedDuringPoll.add((GsmCdmaConnection) cn);
                    }

                    // Re-start Ecm timer when the connected emergency call ends