From 3ee92877ae2115ff45b81ba13418bf16b280a208 Mon Sep 17 00:00:00 2001 From: Cyan_Hsieh Date: Wed, 5 Oct 2022 15:10:33 +0800 Subject: [PATCH] Scale the flexibility for telephony euicc settings disable copying the xml if DISABLE_TELEPHONY_EUICC set to true Bug: 246514347 Change-Id: I2b7c2a8f831cdf068129fd0b6f2f7efeb74e94bb --- device.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device.mk b/device.mk index 2a3a6287..d15f5312 100644 --- a/device.mk +++ b/device.mk @@ -411,8 +411,10 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml # eSIM MEP Feature +ifneq ($(DISABLE_TELEPHONY_EUICC),true) PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.telephony.euicc.mep.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.mep.xml +endif # default usb debug functions ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))