Bug 90159&Bug 90093[call]
Change-Id: If41a3a2f4eae3e4f620ceabe80fd0a7c87596bc6
diff --git a/mbtk/libmbtk_lib/ril/inc/mbtk_info.h b/mbtk/libmbtk_lib/ril/inc/mbtk_info.h
old mode 100755
new mode 100644
index c52e916..854c582
--- a/mbtk/libmbtk_lib/ril/inc/mbtk_info.h
+++ b/mbtk/libmbtk_lib/ril/inc/mbtk_info.h
@@ -193,6 +193,9 @@
//dtmf call
MBTK_INFO_ID_CALL_DTMF_REQ,
MBTK_INFO_ID_CALL_DTMF_RSP,
+ //ceer call
+ MBTK_INFO_ID_CALL_CEER_REQ,
+ MBTK_INFO_ID_CALL_CEER_RSP,
MBTK_INFO_ID_CALL_END,
diff --git a/mbtk/libmbtk_lib/ril/v1/mbtk_info_api.c b/mbtk/libmbtk_lib/ril/v1/mbtk_info_api.c
old mode 100755
new mode 100644
index 4810742..bc1343b
--- a/mbtk/libmbtk_lib/ril/v1/mbtk_info_api.c
+++ b/mbtk/libmbtk_lib/ril/v1/mbtk_info_api.c
@@ -407,7 +407,6 @@
LOG("ARG error.");
return -1;
}
-
mbtk_info_pack_t* pack = mbtk_info_pack_creat(id);
if(pack == NULL) {
return -1;
@@ -2462,6 +2461,31 @@
dtmf_character, sizeof(mbtk_call_dtmf_info_t), NULL) ? handle->info_err : 0;
}
+
+/*
+* Get CEER character.
+*
+*/
+int mbtk_ceer_get(mbtk_info_handle_t* handle, void *ceer)
+{
+ if(handle == NULL)
+ {
+ LOGE("ARG error.");
+ return -1;
+ }
+ if(info_item_process(handle, MBTK_INFO_ID_CALL_CEER_REQ,NULL, 0, ceer) >= 0)
+ {
+ LOG("mbtk_ceer_get ceer:%s", ceer);
+ return 0;
+ }
+ else
+ {
+ LOGE("mbtk_ceer_get error");
+ return handle->info_err;
+ }
+}
+
+
/*
* Set net led.
*