Explicitly handle bluetooth files.
This also allows to separate smartphone and nonsmartphone variants.
Change-Id: Icbd7c78a866bae32f060607f8a898d59fcd45830
diff --git a/target/product/generic.mk b/target/product/generic.mk
index 5dfd46f..56dccc1 100644
--- a/target/product/generic.mk
+++ b/target/product/generic.mk
@@ -20,6 +20,9 @@
PRODUCT_PACKAGES := \
Mms
+PRODUCT_COPY_FILES := \
+ system/bluetooth/data/main.conf:system/etc/bluetooth/main.conf
+
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_no_telephony.mk)
# Overrides
diff --git a/target/product/generic_no_telephony.mk b/target/product/generic_no_telephony.mk
index d154bc9..b0cfbe8 100644
--- a/target/product/generic_no_telephony.mk
+++ b/target/product/generic_no_telephony.mk
@@ -49,6 +49,14 @@
PRODUCT_PACKAGES += \
icu.dat
+PRODUCT_COPY_FILES := \
+ system/bluetooth/data/audio.conf:system/etc/bluetooth/audio.conf \
+ system/bluetooth/data/auto_pairing.conf:system/etc/bluetooth/auto_pairing.conf \
+ system/bluetooth/data/blacklist.conf:system/etc/bluetooth/blacklist.conf \
+ system/bluetooth/data/input.conf:system/etc/bluetooth/input.conf \
+ system/bluetooth/data/main.nonsmartphone.conf:system/etc/bluetooth/main.conf \
+ system/bluetooth/data/network.conf:system/etc/bluetooth/network.conf
+
$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)