From eef440e4ab77f3bf3564ea9f8d4429cfec9f379e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 7 Apr 2015 19:01:54 +0200 Subject: [PATCH] libril: Readd support for MODEM_TYPE_XMM7260 Change-Id: I395e9cbfd1a42334e5e6bbb706eef9be157ecd24 Signed-off-by: Andreas Schneider --- ril/libril/Android.mk | 3 +++ ril/libril/ril.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.20.1