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

Commit 6f400a1c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Improve logging around SRVCC scenarios"

parents cf2122a8 0bd1237c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -133,7 +133,8 @@ public abstract class CallTracker extends Handler {
            // Individual connections will be removed from the list in handlePollCalls()
            mHandoverConnections.clear();
        }
        log("notifySrvccState: mHandoverConnections= " + mHandoverConnections.toString());
        log("notifySrvccState: state=" + state.name() + ", mHandoverConnections= "
                + mHandoverConnections.toString());
    }

    protected void handleRadioAvailable() {
+1 −0
Original line number Diff line number Diff line
@@ -1386,6 +1386,7 @@ public abstract class Connection {
        StringBuilder str = new StringBuilder(128);

        str.append(" callId: " + getTelecomCallId());
        str.append(" objId: " + System.identityHashCode(this));
        str.append(" isExternal: " + (((mConnectionCapabilities & Capability.IS_EXTERNAL_CONNECTION)
                == Capability.IS_EXTERNAL_CONNECTION) ? "Y" : "N"));
        if (Rlog.isLoggable(LOG_TAG, Log.DEBUG)) {
+4 −0
Original line number Diff line number Diff line
@@ -877,9 +877,12 @@ public class GsmCdmaCallTracker extends CallTracker {
                    }

                    mConnections[i] = new GsmCdmaConnection(mPhone, dc, this, i);
                    log("New connection is not mPendingMO. Creating new GsmCdmaConnection,"
                            + " objId=" + System.identityHashCode(mConnections[i]));

                    Connection hoConnection = getHoConnection(dc);
                    if (hoConnection != null) {
                        log("Handover connection found.");
                        // Single Radio Voice Call Continuity (SRVCC) completed
                        mConnections[i].migrateFrom(hoConnection);
                        // Updating connect time for silent redial cases (ex: Calls are transferred
@@ -908,6 +911,7 @@ public class GsmCdmaCallTracker extends CallTracker {
                        mPhone.notifyHandoverStateChanged(mConnections[i]);
                    } else {
                        // find if the MT call is a new ring or unknown connection
                        log("New connection is not mPendingMO nor a pending handover.");
                        newRinging = checkMtFindNewRinging(dc,i);
                        if (newRinging == null) {
                            unknownConnectionAppeared = true;