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

Commit 64e17805 authored by Maanasa Gopal's avatar Maanasa Gopal Committed by Gerrit - the friendly Code Review server
Browse files

Add call reject cause code.

Included last call reject cause code 26.

Change-Id: I7ff248ba50a3bf5b3528eb4170a1dd7dd999778f
CRs-Fixed: 801884
parent a78157b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ public interface CallFailCause {
    static final int CALL_FAIL_NO_ANSWER_FROM_USER = 19;
    static final int CALL_REJECTED = 21;
    static final int PREEMPTION = 25;
    static final int NON_SELECTED_USER_CLEARING = 26;
    static final int CALL_FAIL_DESTINATION_OUT_OF_ORDER = 27;
    static final int INVALID_NUMBER = 28;
    static final int FACILITY_REJECTED = 29;
+3 −0
Original line number Diff line number Diff line
@@ -469,6 +469,9 @@ public class GsmConnection extends Connection {
            case CallFailCause.EMERGENCY_PERM_FAILURE:
                return DisconnectCause.EMERGENCY_PERM_FAILURE;

            case CallFailCause.NON_SELECTED_USER_CLEARING:
                return DisconnectCause.NON_SELECTED_USER_CLEARING;

            case CallFailCause.ERROR_UNSPECIFIED:
            case CallFailCause.NORMAL_CLEARING:
            default: