From aeacc5af5ffe7c974a7d6abfd5aa27643fc3c02e Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Mon, 16 Sep 2019 17:40:51 +0800 Subject: [PATCH] sdm710-common: Create system copy of ims-ext-common and add to classpath * Our ims.apk doesn't load ims-ext-common.jar, and it's moved to /product on 10 where PRODUCT_BOOT_JARS doesn't work. * Create a system copy of the jar and add it to boot classpath to make it loadable from the apk without extra work, Change-Id: Ia530a530bd4469e12500410fc5e8ba393de60b18 Signed-off-by: SamarV-121 --- ims/Android.bp | 7 +++++++ sdm710.mk | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 ims/Android.bp diff --git a/ims/Android.bp b/ims/Android.bp new file mode 100644 index 0000000..7d97b3c --- /dev/null +++ b/ims/Android.bp @@ -0,0 +1,7 @@ +java_library { + name: "ims-ext-common_system", + installable: true, + static_libs: [ + "ims-ext-common", + ], +} diff --git a/sdm710.mk b/sdm710.mk index 90ac169..844e680 100644 --- a/sdm710.mk +++ b/sdm710.mk @@ -62,7 +62,11 @@ PRODUCT_PACKAGES += \ # IMS PRODUCT_PACKAGES += \ - ims-ext-common + ims-ext-common \ + ims-ext-common_system + +PRODUCT_BOOT_JARS += \ + ims-ext-common_system PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.telephony.ims.xml:system/etc/permissions/android.hardware.telephony.ims.xml