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

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

Merge "Issue 128385394: UE fails to disconnect Call from User Interface."

parents c7698b4a 525b2495
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -291,6 +291,18 @@ public abstract class CallTracker extends Handler {
        return ret;
    }

    /**
     * Get the ringing connections which during SRVCC handover.
     */
    public Connection getRingingHandoverConnection() {
        for (Connection hoConn : mHandoverConnections) {
            if (hoConn.getCall().isRinging()) {
                return hoConn;
            }
        }
        return null;
    }

    //***** Overridden from Handler
    @Override
    public abstract void handleMessage (Message msg);
+7 −0
Original line number Diff line number Diff line
@@ -929,6 +929,13 @@ public class GsmCdmaPhone extends Phone {
        if ( imsPhone != null && imsPhone.getRingingCall().isRinging()) {
            return imsPhone.getRingingCall();
        }
        //It returns the ringing connections which during SRVCC handover
        if (!mCT.mRingingCall.isRinging()
                && mCT.getRingingHandoverConnection() != null
                && mCT.getRingingHandoverConnection().getCall() != null
                && mCT.getRingingHandoverConnection().getCall().isRinging()) {
            return mCT.getRingingHandoverConnection().getCall();
        }
        return mCT.mRingingCall;
    }