From: Andreas Schneider Date: Tue, 7 Apr 2015 17:01:54 +0000 (+0200) Subject: libril: Readd support for MODEM_TYPE_XMM7260 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eef440e4ab77f3bf3564ea9f8d4429cfec9f379e;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git libril: Readd support for MODEM_TYPE_XMM7260 Change-Id: I395e9cbfd1a42334e5e6bbb706eef9be157ecd24 Signed-off-by: Andreas Schneider --- diff --git a/ril/libril/Android.mk b/ril/libril/Android.mk index 101c987..49f718c 100644 --- a/ril/libril/Android.mk +++ b/ril/libril/Android.mk @@ -23,6 +23,9 @@ endif ifeq ($(BOARD_MODEM_TYPE),xmm6260) LOCAL_CFLAGS := -DMODEM_TYPE_XMM6260 endif +ifeq ($(BOARD_MODEM_TYPE),xmm7260) +LOCAL_CFLAGS := -DMODEM_TYPE_XMM7260 +endif LOCAL_MODULE:= libril diff --git a/ril/libril/ril.cpp b/ril/libril/ril.cpp index 9a61432..43fed59 100644 --- a/ril/libril/ril.cpp +++ b/ril/libril/ril.cpp @@ -805,7 +805,7 @@ dispatchDial (Parcel &p, RequestInfo *pRI) { } if (uusPresent == 0) { -#ifdef MODEM_TYPE_XMM6262 +#if defined(MODEM_TYPE_XMM6262) || defined(MODEM_TYPE_XMM7260) dial.uusInfo = NULL; #elif defined(MODEM_TYPE_XMM6260) /* Samsung hack */