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

Commit d1d7f3b8 authored by Andalam Parthasarathi's avatar Andalam Parthasarathi Committed by Gerrit Code Review
Browse files

Add mapping string for call reject cause code 26.

Mapping string for the specified disconnect cause.
Show a toast string "non-selected user clearing"
for cause code 26

Change-Id: I6592411b147f1109b37b1a60a868468a8840a47a
CRs-Fixed: 801884
parent bc3f2de0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -241,6 +241,8 @@ public class DisconnectCause {
    /** EMERGENCY call failed with permanent fail cause */
    public static final int EMERGENCY_PERM_FAILURE         = 97;

    public static final int NON_SELECTED_USER_CLEARING = 98;

    /**
     * Call was rejected due to number being blacklisted by user.
     * {@@hide}
@@ -255,7 +257,7 @@ public class DisconnectCause {
    // 4) Update toString() with the newly added disconnect type.
    // 5) Update android.telecom.DisconnectCauseUtil with any mappings to a telecom.DisconnectCause.
    //
    // NextId: 98
    // NextId: 99
    //*********************************************************************************************

    /** Smallest valid value for call disconnect codes. */
@@ -370,6 +372,8 @@ public class DisconnectCause {
            return "IMS_MERGED_SUCCESSFULLY";
        case CDMA_ALREADY_ACTIVATED:
            return "CDMA_ALREADY_ACTIVATED";
        case NON_SELECTED_USER_CLEARING:
            return "NON_SELECTED_USER_CLEARING";
        case HO_NOT_FEASIBLE:
            return "HO_NOT_FEASIBLE";
        case NO_CIRCUIT_AVAIL: