diff options
| author | 2019-08-01 09:28:26 -0700 | |
|---|---|---|
| committer | 2019-08-01 09:28:26 -0700 | |
| commit | 1ec38f85cf8476d3dabe751d445579cf7eab3b9d (patch) | |
| tree | fbb6711dde999489bb5ee453cbd5adb803295678 | |
| parent | 0e71b3357ad93eaef966f7c406907c7aa0bfe7e5 (diff) | |
| parent | 1c9d219e15d96d0266187eae3e3785202ed3a967 (diff) | |
resolve merge conflicts of 1d0d34348cf8fc21614b2a8e52d5d886d50a55dd to qt-r1-dev-plus-aos
am: 1c9d219e15
Change-Id: I9537c1eb2dff23e84fabad1bb90ccf28b902148d
| -rw-r--r-- | telephony/java/android/telephony/DisconnectCause.java | 17 | ||||
| -rw-r--r-- | telephony/java/android/telephony/ims/ImsReasonInfo.java | 13 | 
2 files changed, 30 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/DisconnectCause.java b/telephony/java/android/telephony/DisconnectCause.java index cdf4c935f84b..aa7e21a82500 100644 --- a/telephony/java/android/telephony/DisconnectCause.java +++ b/telephony/java/android/telephony/DisconnectCause.java @@ -340,6 +340,19 @@ public final class DisconnectCause {       */      public static final int MEDIA_TIMEOUT = 77; +    /** +     * Indicates that an emergency call cannot be placed over WFC because the service is not +     * available in the current location. +     * @hide +     */ +    public static final int EMERGENCY_CALL_OVER_WFC_NOT_AVAILABLE = 78; + +    /** +     * Indicates that WiFi calling service is not available in the current location. +     * @hide +     */ +    public static final int WFC_SERVICE_NOT_AVAILABLE_IN_THIS_LOCATION = 79; +      //*********************************************************************************************      // When adding a disconnect type:      // 1) Update toString() with the newly added disconnect type. @@ -510,6 +523,10 @@ public final class DisconnectCause {              return "OTASP_PROVISIONING_IN_PROCESS";          case MEDIA_TIMEOUT:              return "MEDIA_TIMEOUT"; +        case EMERGENCY_CALL_OVER_WFC_NOT_AVAILABLE: +            return "EMERGENCY_CALL_OVER_WFC_NOT_AVAILABLE"; +        case WFC_SERVICE_NOT_AVAILABLE_IN_THIS_LOCATION: +            return "WFC_SERVICE_NOT_AVAILABLE_IN_THIS_LOCATION";          default:              return "INVALID: " + cause;          } diff --git a/telephony/java/android/telephony/ims/ImsReasonInfo.java b/telephony/java/android/telephony/ims/ImsReasonInfo.java index a478606da22a..20aba4d97849 100644 --- a/telephony/java/android/telephony/ims/ImsReasonInfo.java +++ b/telephony/java/android/telephony/ims/ImsReasonInfo.java @@ -871,6 +871,19 @@ public final class ImsReasonInfo implements Parcelable {       */      public static final int CODE_REJECT_ONGOING_CS_CALL = 1621; +    /** +     * An attempt was made to place an emergency call over WFC when emergency services is not +     * currently available in the current location. +     * @hide +     */ +    public static final int CODE_EMERGENCY_CALL_OVER_WFC_NOT_AVAILABLE = 1622; + +    /** +     * Indicates that WiFi calling service is not available in the current location. +     * @hide +     */ +    public static final int CODE_WFC_SERVICE_NOT_AVAILABLE_IN_THIS_LOCATION = 1623; +      /*       * OEM specific error codes. To be used by OEMs when they don't want to reveal error code which       * would be replaced by ERROR_UNSPECIFIED.  |