libril: Use consistent names for modem defines
authorAndreas Schneider <asn@cryptomilk.org>
Tue, 7 Apr 2015 16:58:14 +0000 (18:58 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Wed, 8 Apr 2015 05:40:16 +0000 (05:40 +0000)
Change-Id: I3ac65d2458878a6a631439be4f830c851aa50759
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ril/libril/Android.mk
ril/libril/ril.cpp

index 3e7ff05edb521c2eb0d03942e19d5b79941be2d9..101c987b8700fa188ba2bd04b291f6abf19d7f79 100644 (file)
@@ -18,10 +18,10 @@ LOCAL_SHARED_LIBRARIES := \
     librilutils
 
 ifneq ($(filter xmm6262 xmm6360,$(BOARD_MODEM_TYPE)),)
-LOCAL_CFLAGS := -DMODEM_TYPE_6262
+LOCAL_CFLAGS := -DMODEM_TYPE_XMM6262
 endif
 ifeq ($(BOARD_MODEM_TYPE),xmm6260)
-LOCAL_CFLAGS := -DMODEM_TYPE_6260
+LOCAL_CFLAGS := -DMODEM_TYPE_XMM6260
 endif
 
 LOCAL_MODULE:= libril
@@ -43,10 +43,10 @@ LOCAL_STATIC_LIBRARIES := \
     librilutils_static
 
 ifneq ($(filter xmm6262 xmm6360,$(BOARD_MODEM_TYPE)),)
-LOCAL_CFLAGS := -DMODEM_TYPE_6262
+LOCAL_CFLAGS := -DMODEM_TYPE_XMM6262
 endif
 ifeq ($(BOARD_MODEM_TYPE),xmm6260)
-LOCAL_CFLAGS := -DMODEM_TYPE_6260
+LOCAL_CFLAGS := -DMODEM_TYPE_XMM6260
 endif
 
 LOCAL_MODULE:= libril_static
index 9fda4ee88623e85ce4f2a1938ed2f5a48bffd77f..51decd61b8e3d8d84310d7e21308b96ee8dc813c 100644 (file)
@@ -805,9 +805,9 @@ dispatchDial (Parcel &p, RequestInfo *pRI) {
         }
 
         if (uusPresent == 0) {
-#ifdef MODEM_TYPE_6262
+#ifdef MODEM_TYPE_XMM6262
             dial.uusInfo = NULL;
-#elif MODEM_TYPE_6260
+#elif MODEM_TYPE_XMM6260
             /* Samsung hack */
             memset(&uusInfo, 0, sizeof(RIL_UUS_Info));
             uusInfo.uusType = (RIL_UUS_Type) 0;