From 36b50656aba8de0147da7156cf48ddb7ce7df490 Mon Sep 17 00:00:00 2001 From: bmork Date: Sat, 3 Jan 2015 19:31:26 +0100 Subject: [PATCH] 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 --- ril/xmm6260/libril/ril.cpp | 4 ++-- ril/xmm6262/libril/ril.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ril/xmm6260/libril/ril.cpp b/ril/xmm6260/libril/ril.cpp index 64bd6d1b..42b19ffd 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 07464747..50e9f038 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};