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

Commit 8ba4566c authored by Hung-ying Tyan's avatar Hung-ying Tyan
Browse files

Do not keep alive for re-established call.

Only need to keep alive for caller in a newly established call.

Change-Id: I36f9d9499c806c8701e3b78555de399b00593be8
parent 54fa6196
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1223,9 +1223,9 @@ class SipSessionGroup implements SipListener {

        private void establishCall(boolean enableKeepAlive) {
            mState = SipSession.State.IN_CALL;
            mInCall = true;
            cancelSessionTimer();
            if (enableKeepAlive) enableKeepAlive();
            if (!mInCall && enableKeepAlive) enableKeepAlive();
            mInCall = true;
            mProxy.onCallEstablished(this, mPeerSessionDescription);
        }