summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmork <bjorn@mork.no>2015-01-03 19:31:26 +0100
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2015-01-03 19:31:26 +0100
commit36b50656aba8de0147da7156cf48ddb7ce7df490 (patch)
treea690a69cc9fe8d5c28ffe37bbb26138bcfabf941
parent518d1720da8e2ea2f41546ee0c2d436a29d079f2 (diff)
downloadandroid_hardware_samsung-36b50656aba8de0147da7156cf48ddb7ce7df490.tar.gz
android_hardware_samsung-36b50656aba8de0147da7156cf48ddb7ce7df490.tar.bz2
android_hardware_samsung-36b50656aba8de0147da7156cf48ddb7ce7df490.zip
XMM626x: fix Samsung RIL v9 update
The Samsung proprietary RIL commands are mapped using the same array as the standard commands. This means that the MAX and UNSOL_MAX macros must be updated whenever standard commands are added, or the Samsung commands will noe be correctly mapped. Change-Id: I68ebc62e1967c5d027fc407eaeef480e735734f8
-rwxr-xr-xril/xmm6260/libril/ril.cpp4
-rw-r--r--ril/xmm6262/libril/ril.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/ril/xmm6260/libril/ril.cpp b/ril/xmm6260/libril/ril.cpp
index 64bd6d1..42b19ff 100755
--- a/ril/xmm6260/libril/ril.cpp
+++ b/ril/xmm6260/libril/ril.cpp
@@ -114,8 +114,8 @@ namespace android {
#define appendPrintBuf(x...)
#endif
-#define MAX_RIL_SOL RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE
-#define MAX_RIL_UNSOL RIL_UNSOL_CELL_INFO_LIST
+#define MAX_RIL_SOL RIL_REQUEST_IMS_SEND_SMS
+#define MAX_RIL_UNSOL RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED
enum WakeType {DONT_WAKE, WAKE_PARTIAL};
diff --git a/ril/xmm6262/libril/ril.cpp b/ril/xmm6262/libril/ril.cpp
index 0746474..50e9f03 100644
--- a/ril/xmm6262/libril/ril.cpp
+++ b/ril/xmm6262/libril/ril.cpp
@@ -114,8 +114,8 @@ namespace android {
#define appendPrintBuf(x...)
#endif
-#define MAX_RIL_SOL RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE
-#define MAX_RIL_UNSOL RIL_UNSOL_CELL_INFO_LIST
+#define MAX_RIL_SOL RIL_REQUEST_IMS_SEND_SMS
+#define MAX_RIL_UNSOL RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED
enum WakeType {DONT_WAKE, WAKE_PARTIAL};