Use default libnfc-nci.conf if not found in vendor/etc
If libnfc-nci.conf is not installed in vendor/etc, use default configuration file in system/etc on GSI. Bug: 72080121 Test: Install GSI and remove vendor/etc/libnfc-nci.conf. Check if nfc is available in settings menu. Change-Id: Icc6e0b1d2b29adacf085cfa68566b064e736d3fa
This commit is contained in:
parent
a0c1cc97bd
commit
746684376a
|
@ -70,6 +70,12 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_COPY_FILES += \
|
||||
device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml
|
||||
|
||||
# NFC:
|
||||
# Provide default libnfc-nci.conf file for devices that does not have one in
|
||||
# vendor/etc
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/generic/common/nfc/libnfc-nci.conf:system/etc/libnfc-nci.conf
|
||||
|
||||
# Support for the devices with no VNDK enforcing
|
||||
PRODUCT_COPY_FILES += \
|
||||
build/make/target/product/vndk/init.gsi.rc:system/etc/init/init.gsi.rc \
|
||||
|
|
Loading…
Reference in New Issue