From b80df2fd396e949b06c8a0ece94b7b8f9303b32c Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 25 Oct 2020 13:01:13 +0100 Subject: [PATCH] davinci: Build nxp nfc 2.0 service Change-Id: I75af5a56973c5024ab8c748b4fb27023de0ba632 --- device.mk | 2 +- rootdir/etc/init.target.rc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device.mk b/device.mk index 395c94e..57d2c34 100644 --- a/device.mk +++ b/device.mk @@ -266,7 +266,7 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ nfc_nci.nqx.default.hw \ - vendor.nxp.hardware.nfc@1.2-service + vendor.nxp.hardware.nfc@2.0-service PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \ diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index eecf64c..dfd8677 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -54,7 +54,7 @@ on init && property:ro.boot.hwc=CN setprop ro.boot.product.hardware.sku davinci on property:ro.boot.product.hardware.sku=davinci - enable nqnfc_1_2_hal_service + enable nqnfc_2_0_hal_service on fs mount_all --early @@ -217,7 +217,7 @@ service vendor.motor /vendor/bin/hw/vendor.xiaomi.hardware.motor@1.0-service group system writepid /dev/cpuset/system-background/tasks -service nqnfc_1_2_hal_service /vendor/bin/hw/vendor.nxp.hardware.nfc@1.2-service +service nqnfc_2_0_hal_service /vendor/bin/hw/vendor.nxp.hardware.nfc@2.0-service override class hal user nfc