gs101: exclude telephony.carrierlock feature if BOARD_WITHOUT_RADIO

Bug: 238702278
Test: build pass, boot successfully, adb shell pm list features
Change-Id: I9dd9fea875ade4eca796ee6744f5f985571bbcfc
This commit is contained in:
Roger Liao 2022-07-27 18:59:37 +08:00
parent 1dc5d62371
commit 69ff0493cf

View file

@ -18,9 +18,11 @@
include device/google/gs101/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 += \