From bf885d8d525a34838d0ad088cfd4c36cbd60a0cb Mon Sep 17 00:00:00 2001 From: Roger Liao Date: Thu, 14 Jul 2022 23:08:13 +0800 Subject: [PATCH] gs201: exclude telephony.carrierlock feature if BOARD_WITHOUT_RADIO Bug: 238702278 Test: build pass, boot successfully, adb shell pm list features Change-Id: I16e25061ca63a9134a20db249e469e1a4b227657 --- device-common.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device-common.mk b/device-common.mk index 05d0d4ed..bd7ad344 100644 --- a/device-common.mk +++ b/device-common.mk @@ -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 += \