From 00a40b818f0164aaae4a4a586c7e290b4e6c6928 Mon Sep 17 00:00:00 2001 From: Arian Date: Tue, 21 Apr 2020 01:07:15 +0200 Subject: [PATCH] davinci: nfc: Copy hardware permissions from frameworks/native Co-authored-by: Fabian Leutenegger Change-Id: Ice2314e05fea0023679a8fa6b053c1d4a7ccf1e6 --- device.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/device.mk b/device.mk index 21e7098..e988010 100644 --- a/device.mk +++ b/device.mk @@ -195,6 +195,15 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \ $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ + frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \ + 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/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ + frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml + # Overlay DEVICE_PACKAGE_OVERLAYS += \ $(LOCAL_PATH)/overlay \