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

Commit d7690264 authored by Andalam Parthasarathi's avatar Andalam Parthasarathi Committed by Gerrit - the friendly Code Review server
Browse files

Add call reject cause code.

Included last call reject cause code 26.

Change-Id: I0ea326588f336ad28429624305d251b58bf99d0e
CRs-Fixed: 801884
parent 68c11a0a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,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
@@ -471,6 +471,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: