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

Commit 4c6700f5 authored by Nivedita Sarkar's avatar Nivedita Sarkar Committed by Gerrit - the friendly Code Review server
Browse files

IMS: Add supplementary services (hold/resume) failure codes

- FR30649: Error code reporting for Hold resume failures

- Add error codes corresponding to the proto error codes for
  propagating the error code to the UI or displaying an error
  message

Change-Id: Iff123c0d67b8999abd9a58d0fa41e1c9143afe40
CRs-Fixed: 911406
parent edb37773
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -103,6 +103,16 @@ public class QtiVideoCallConstants {
    public static final int DOMAIN_CS = 1;
    public static final int DOMAIN_PS = 2;

    /**
     * Call supplementary services failures.
     * TODO: Rename the file to QtiCallConstants.java as generic IMS constants are added. This
     *  will be handled when we move the file to vendor/codeaurora/telephony project.
     */
    public static final int ERROR_CALL_CODE_UNSPECIFIED = -1;
    public static final int ERROR_CALL_SUPP_SVC_FAILED = 1;
    public static final int ERROR_CALL_SUPP_SVC_CANCELLED = 2;
    public static final int ERROR_CALL_SUPP_SVC_REINVITE_COLLISION = 3;

    /**
     * Private constructor. This class should not be instantiated.
     */