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 <samarvispute121@gmail.com>
This commit is contained in:
dianlujitao 2019-09-16 17:40:51 +08:00 committed by SamarV-121
parent 638cd12002
commit aeacc5af5f
2 changed files with 12 additions and 1 deletions

7
ims/Android.bp Normal file
View file

@ -0,0 +1,7 @@
java_library {
name: "ims-ext-common_system",
installable: true,
static_libs: [
"ims-ext-common",
],
}

View file

@ -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