Move CDMA feature XML inclusion to device specific mk files

So devices not supporting CDMA don't include the feature by mistake.

Bug: 191908965
Test: inspect build artifacts - telephony.cdma.xml is included
Change-Id: I0fe3a3624d2cda2b57347402d62e8a16513174e5
This commit is contained in:
Meng Wang 2021-07-21 04:48:32 +00:00
parent 77548bbba0
commit 5f8889f00e

View file

@ -885,6 +885,7 @@ USE_RADIO_HAL_1_6 := true
ifneq ($(BOARD_WITHOUT_RADIO),true)
$(call inherit-product-if-exists, vendor/samsung_slsi/telephony/common/device-vendor.mk)
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml
endif
ifeq (,$(filter %_64,$(TARGET_PRODUCT)))