summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/DisconnectCause.java
diff options
context:
space:
mode:
Diffstat (limited to 'telecomm/java/android/telecom/DisconnectCause.java')
-rw-r--r--telecomm/java/android/telecom/DisconnectCause.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/DisconnectCause.java b/telecomm/java/android/telecom/DisconnectCause.java
index 68602692f8d3..e6b567e388aa 100644
--- a/telecomm/java/android/telecom/DisconnectCause.java
+++ b/telecomm/java/android/telecom/DisconnectCause.java
@@ -75,6 +75,14 @@ public final class DisconnectCause implements Parcelable {
*/
public static final int CALL_PULLED = 12;
+ /**
+ * Reason code (returned via {@link #getReason()}) which indicates that a call could not be
+ * completed because the cellular radio is off or out of service, the device is connected to
+ * a wifi network, but the user has not enabled wifi calling.
+ * @hide
+ */
+ public static final String REASON_WIFI_ON_BUT_WFC_OFF = "REASON_WIFI_ON_BUT_WFC_OFF";
+
private int mDisconnectCode;
private CharSequence mDisconnectLabel;
private CharSequence mDisconnectDescription;