From cf42dbe7d28ee78539126de22dd1b4ceb5ec7374 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Thu, 16 Jan 2020 18:20:56 +0800 Subject: [PATCH] common: nq-nfc: Add feature flags for OMAPI readers. Support ESE/UICC OMAPI readers. Bug: 131062577 Test: CTS OMAPI Change-Id: I3866ac2f3cf80eea19e7ed5faa795a1103336e50 --- nq-nfc/qti-nq-nfc.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nq-nfc/qti-nq-nfc.mk b/nq-nfc/qti-nq-nfc.mk index c062c78b..848d736e 100644 --- a/nq-nfc/qti-nq-nfc.mk +++ b/nq-nfc/qti-nq-nfc.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2020 Paranoid Android +# Copyright (C) 2021 Paranoid Android # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -22,5 +22,10 @@ PRODUCT_PACKAGES += \ ls_nq_client \ jcos_nq_client +# Permissions +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \ + frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml + # Get non-open-source specific aspects. $(call inherit-product-if-exists, vendor/qcom/common/nq-nfc/nq-nfc-vendor.mk)