From: Bjørn Mork Date: Mon, 24 Nov 2014 10:14:56 +0000 (+0100) Subject: XMM626x: fix Samsung RIL v9 update X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6aac1eed83555bc7dc998b1668d9fc52c25d1cdc;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git 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: Ic9dc6305bfb6d93763445b22cf24d9ee84db98c2 Signed-off-by: Bjørn Mork --- 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};