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

Commit 2e82015e authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Fix issue where incoming rejected calls were not being marked as such." into nyc-mr1-dev

parents 5e453f91 1999b977
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -391,7 +391,9 @@ public class ImsPhoneConnection extends Connection implements
    @Override
    public boolean onDisconnect(int cause) {
        Rlog.d(LOG_TAG, "onDisconnect: cause=" + cause);
        if (mCause != DisconnectCause.LOCAL) mCause = cause;
        if (mCause != DisconnectCause.LOCAL || cause == DisconnectCause.INCOMING_REJECTED) {
            mCause = cause;
        }
        return onDisconnect();
    }