diff options
| author | marcost2 <marcostolcachir@gmail.com> | 2025-04-11 23:35:11 -0300 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2025-05-05 05:23:15 +0300 |
| commit | 540c5c53ca0538be7a5339a62b37cc38d84868a9 (patch) | |
| tree | 59d65b0159aae3e8339c45635533c76b762d5079 | |
| parent | 7315301568fcde81ed47fdf33b41655f3dcdadb7 (diff) | |
miami: Switch to NXP hal
Change-Id: I86e6bca7c623af0741a1388cb85d0336bd4be025
| -rw-r--r-- | device.mk | 5 | ||||
| -rw-r--r-- | product.prop | 3 | ||||
| -rw-r--r-- | vendor.prop | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -50,13 +50,16 @@ PRODUCT_PACKAGES += \ # NFC PRODUCT_PACKAGES += \ - android.hardware.nfc@1.2-service.st \ + android.hardware.nfc-service.nxp \ com.android.nfc_extras \ Tag # Permissions PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ + frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ + frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml # Sensors diff --git a/product.prop b/product.prop index 0c86409..940b94d 100644 --- a/product.prop +++ b/product.prop @@ -3,3 +3,6 @@ ro.opa.device_model_id=motorola-miami # Motorola ro.mot.build.customerid=global + +# NFC +persist.nfc_cfg.config_file_name=libnfc-nci_PN557.conf diff --git a/vendor.prop b/vendor.prop index 3abe2ad..68468a2 100644 --- a/vendor.prop +++ b/vendor.prop @@ -2,4 +2,4 @@ persist.vendor.camera.physical.num=4 # NFC -ro.vendor.hw.nfc=st +persist.vendor.nfc.config_file_name=libnfc-PN557.conf |
