libril: Use a board flag for video call field
authorAndreas Schneider <asn@cryptomilk.org>
Fri, 1 Apr 2016 19:19:59 +0000 (21:19 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 11 Apr 2016 18:50:51 +0000 (20:50 +0200)
xmm7260 on SLTE doesn't have this flag anymore. Devices which need it
should specify the flag.

Change-Id: I166f579274667919756d3bb90e0b182165525975
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ril/libril/Android.mk

index 412a8548c90da6cc48061873f2b11c5ba8050a4c..81c6238d3007eff98cf2437212f8656c235e6efe 100644 (file)
@@ -32,7 +32,7 @@ ifneq ($(filter m7450 mdm9x35 ss333 xmm7260,$(BOARD_MODEM_TYPE)),)
 LOCAL_CFLAGS := -DSAMSUNG_NEXT_GEN_MODEM
 endif
 
-ifneq ($(filter m7450 xmm7260,$(BOARD_MODEM_TYPE)),)
+ifeq ($(BOARD_MODEM_NEEDS_VIDEO_CALL_FIELD), true)
 LOCAL_CFLAGS += -DNEEDS_VIDEO_CALL_FIELD
 endif