Include an XML to describe how to load interfaces java libs

This commit is contained in:
Pierre-Hugues Husson 2018-08-27 23:23:25 +02:00
parent bdda647078
commit 465f92f67f
2 changed files with 13 additions and 0 deletions

View File

@ -83,3 +83,5 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.radio.am-V1.0-java \
vendor.qti.qcril.am-V1.0-java \
PRODUCT_COPY_FILES += \
device/phh/treble/interfaces.xml:system/etc/permissions/interfaces.xml

11
interfaces.xml Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="vendor.qti.qcril.am.V1_0"
file="/system/framework/vendor.qti.qcril.am-V1.0-java.jar" />
<library name="vendor.qti.hardware.radio.am.V1_0"
file="/system/framework/vendor.qti.hardware.radio.am-V1.0-java.jar" />
<library name="vendor.huawei.hardware.biometrics.fingerprint.V2_1"
file="/system/framework/vendor.huawei.hardware.biometrics.fingerprint-V2.1-java.jar" />
<library name="vendor.huawei.hardware.tp.V1_0"
file="/system/framework/vendor.huawei.hardware.tp-V1.0-java.jar" />
</permissions>