gs101: exclude telephony.carrierlock feature if BOARD_WITHOUT_RADIO
Bug: 238702278
Test: build pass, boot successfully, adb shell pm list features
Change-Id: I9dd9fea875ade4eca796ee6744f5f985571bbcfc
diff --git a/device-common.mk b/device-common.mk
index e45397d..0cc6a40 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -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 += \