From 0b87f3f8709b9fd478d7522d98eea2ee19e5d5d0 Mon Sep 17 00:00:00 2001 From: Song Fuchang Date: Sun, 24 Jun 2018 21:46:45 +0800 Subject: [PATCH] Add NfcNci package to PRODUCT_PACKAGES This fixes NFC on LineageOS on Xiaomi MIX 2S. --- base.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base.mk b/base.mk index 325e6201ee1b..db22083ede9b 100644 --- a/base.mk +++ b/base.mk @@ -43,6 +43,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ device/phh/treble/nfc/libnfc-nci.conf:system/etc/libnfc-nci.conf +# LineageOS build may need this to make NFC work +PRODUCT_PACKAGES += \ + NfcNci + PRODUCT_COPY_FILES += \ device/phh/treble/rw-system.sh:system/bin/rw-system.sh \ device/phh/treble/fixSPL/getSPL.arm:system/bin/getSPL