mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_polaris
synced 2026-01-27 18:40:05 +00:00
polaris: Set up NFC
Change-Id: Ib10e931059ad185e26541ceb68390124bb64686e
This commit is contained in:
16
device.mk
16
device.mk
@@ -63,15 +63,23 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# NFC
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.nfc@1.0-impl \
|
||||
com.android.nfc_extras \
|
||||
com.nxp.nfc.nq \
|
||||
com.nxp.nfc.nq.xml \
|
||||
libnqnfc-nci \
|
||||
libnqp61-jcop-kit \
|
||||
nfc_nci.nqx.default \
|
||||
NQNfcNci \
|
||||
nqnfcee_access.xml \
|
||||
nqnfcse_access.xml \
|
||||
NQNfcNci \
|
||||
SecureElement \
|
||||
Tag
|
||||
Tag \
|
||||
vendor.nxp.hardware.nfc@1.1-service
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_SYSTEM)/etc/libnfc-nci.conf \
|
||||
$(LOCAL_PATH)/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_SYSTEM)/etc/libnfc-nxp.conf \
|
||||
$(LOCAL_PATH)/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
|
||||
|
||||
# Secure element
|
||||
PRODUCT_PACKAGES += \
|
||||
SecureElement
|
||||
|
||||
14
manifest.xml
14
manifest.xml
@@ -23,12 +23,12 @@
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.nfc</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<version>1.1</version>
|
||||
<interface>
|
||||
<name>INfc</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
<fqname>@1.0::INfc/default</fqname>
|
||||
<fqname>@1.1::INfc/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.secure_element</name>
|
||||
@@ -100,16 +100,6 @@
|
||||
</interface>
|
||||
<fqname>@1.0::INqNfc/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.nxp.nxpnfc</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>INxpNfc</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
<fqname>@1.0::INxpNfc/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.gnss</name>
|
||||
<transport>hwbinder</transport>
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
on init
|
||||
mount none /system/etc/libnfc-nxp.conf /vendor/etc/libnfc-nxp.conf bind
|
||||
@@ -1,2 +0,0 @@
|
||||
# NFC config
|
||||
/system/etc/libnfc-nxp\.conf u:object_r:vendor_configs_file:s0
|
||||
Reference in New Issue
Block a user