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

Commit e12a56f2 authored by Shriram Ganesh's avatar Shriram Ganesh
Browse files

IMS: During SRVCC, mark dropped incoming call as missed call

During SRVCC, if an incoming call is dropped / ended, then
identify that call as a missed call.

Bug: 26729809
Change-Id: Iaba4aee8e295dddaca8be7704fca63139cfdae9c
parent 0e664d8c
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1034,8 +1034,13 @@ public class GsmCdmaCallTracker extends CallTracker {
        for (Iterator<Connection> it = mHandoverConnections.iterator();
                it.hasNext();) {
            Connection hoConnection = it.next();
            log("handlePollCalls - disconnect hoConn= " + hoConnection);
            log("handlePollCalls - disconnect hoConn= " + hoConnection +
                    " hoConn.State= " + hoConnection.getState());
            if (hoConnection.getState().isRinging()) {
                hoConnection.onDisconnect(DisconnectCause.INCOMING_MISSED);
            } else {
                hoConnection.onDisconnect(DisconnectCause.NOT_VALID);
            }
            it.remove();
        }