gs201: exclude telephony.carrierlock feature if BOARD_WITHOUT_RADIO

Bug: 238702278
Test: build pass, boot successfully, adb shell pm list features
Change-Id: I16e25061ca63a9134a20db249e469e1a4b227657
This commit is contained in:
Roger Liao 2022-07-14 23:08:13 +08:00
parent 312ccd4c63
commit bf885d8d52

View file

@ -20,9 +20,11 @@ endif
include device/google/gs201/device.mk
include device/google/gs101/tts/voice_packs.mk
ifneq ($(BOARD_WITHOUT_RADIO),true)
# Telephony
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.carrierlock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.carrierlock.xml
endif
# Android Verified Boot
PRODUCT_COPY_FILES += \