sm6225-common: Configure telephony
Change-Id: I9575f2566688594e34cda606e9bdb7093d0de8fb
diff --git a/common.mk b/common.mk
index 1a5c902..44517c7 100644
--- a/common.mk
+++ b/common.mk
@@ -126,6 +126,36 @@
IPACM_cfg.xml \
IPACM_Filter_cfg.xml
+# Telephony
+PRODUCT_PACKAGES += \
+ extphonelib \
+ extphonelib-product \
+ extphonelib.xml \
+ extphonelib_product.xml \
+ ims-ext-common \
+ ims_ext_common.xml \
+ qti-telephony-hidl-wrapper \
+ qti_telephony_hidl_wrapper.xml \
+ qti-telephony-hidl-wrapper-prd \
+ qti_telephony_hidl_wrapper_prd.xml \
+ qti-telephony-utils \
+ qti_telephony_utils.xml \
+ qti-telephony-utils-prd \
+ qti_telephony_utils_prd.xml \
+ telephony-ext
+
+PRODUCT_BOOT_JARS += \
+ telephony-ext
+
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/permissions/telephony_system-ext_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml
+
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
+ frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
+ frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
+ frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
+
# Thermal
PRODUCT_PACKAGES += \
android.hardware.thermal-service.qti