Move CDMA feature XML inclusion to device specific mk files

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

Bug: 194307361
Test: inspect build artifacts - telephony.cdma.xml is included
Change-Id: I0fe3a3624d2cda2b57347402d62e8a16513174e5
Merged-In: I0fe3a3624d2cda2b57347402d62e8a16513174e5
(cherry picked from commit d808d99ce089ca4c7ff4e2abe8ee76b4eeb38a64)
This commit is contained in:
Meng Wang 2021-07-21 04:48:32 +00:00
parent 2bb5a796f9
commit fbb1a572a1

View file

@ -888,6 +888,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)))