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

Commit a374c577 authored by Shriram Ganesh's avatar Shriram Ganesh Committed by Tyler Gunn
Browse files

IMS: Start connect time, if call is connected during SRVCC transfer.

For a dialing / alerting / incoming call, start the connect time
of the call only if the call is connected during SRVCC transfer
i.e. call state is indicated as active after SRVCC transfer

Bug: 27879470
Change-Id: I4519f32ed1ca45e2247f07c9f993287d75288192
parent 072f14af
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -815,7 +815,8 @@ public class GsmCdmaCallTracker extends CallTracker {
                        // Updating connect time for silent redial cases (ex: Calls are transferred
                        // from DIALING/ALERTING/INCOMING/WAITING to ACTIVE)
                        if (hoConnection.mPreHandoverState != GsmCdmaCall.State.ACTIVE &&
                                hoConnection.mPreHandoverState != GsmCdmaCall.State.HOLDING) {
                                hoConnection.mPreHandoverState != GsmCdmaCall.State.HOLDING &&
                                dc.state == DriverCall.State.ACTIVE) {
                            mConnections[i].onConnectedInOrOut();
                        }