summaryrefslogtreecommitdiffstats
path: root/include/telephony/ril.h
diff options
context:
space:
mode:
authorChao Liu <yjl@google.com>2015-05-14 16:13:46 -0700
committerChao Liu <yjl@google.com>2015-06-18 15:05:55 -0700
commit548a81ee5d5d2cb58925ce62564ac9dfbb90431c (patch)
tree8337d7208976aecc2517dba4260abe3a491501c1 /include/telephony/ril.h
parent7315749476fdfcdbdcba4763b45d0b28bbca6e2d (diff)
downloadandroid_hardware_ril-548a81ee5d5d2cb58925ce62564ac9dfbb90431c.tar.gz
android_hardware_ril-548a81ee5d5d2cb58925ce62564ac9dfbb90431c.tar.bz2
android_hardware_ril-548a81ee5d5d2cb58925ce62564ac9dfbb90431c.zip
Add an optional vendor_cause string to
RIL_REQUEST_LAST_CALL_FAIL_CAUSE's response. This vendor cause string will be passed to Telecom's DisconnectCause, which could help us figure out why we are seeing so many ERROR_UNSPECIFIED. bug:17701976 Original partner change: https://partner-android-review.googlesource.com/#/c/215710/ Change-Id: I0c54733a03b2fe2bd48b3d3b21efc5e3ebd9ef66
Diffstat (limited to 'include/telephony/ril.h')
-rw-r--r--include/telephony/ril.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h
index 8cde697..2e71367 100644
--- a/include/telephony/ril.h
+++ b/include/telephony/ril.h
@@ -616,6 +616,11 @@ typedef enum {
CALL_FAIL_ERROR_UNSPECIFIED = 0xffff
} RIL_LastCallFailCause;
+typedef struct {
+ RIL_LastCallFailCause cause_code;
+ char * vendor_cause;
+} RIL_LastCallFailCauseInfo;
+
/* See RIL_REQUEST_LAST_DATA_CALL_FAIL_CAUSE */
typedef enum {
PDP_FAIL_NONE = 0, /* No error, connection ok */