From a9509ea545920023b87ce2d1b0ba74ac37b7a76e Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Thu, 10 Nov 2016 01:30:18 +0800 Subject: [PATCH] land: Inherit common bluetooth LE product component Change-Id: I06ed31cc7e4241b147085f51020f9e55c6a492af --- device.mk | 1 + product/init.mk | 3 +++ product/qcom-bluetooth.mk | 8 -------- 3 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 product/qcom-bluetooth.mk diff --git a/device.mk b/device.mk index 841f1aa..a49e91a 100644 --- a/device.mk +++ b/device.mk @@ -23,6 +23,7 @@ DEVICE_PACKAGE_OVERLAYS += \ # Include common product fragments include $(CM_PATH)/common/ant.mk include $(CM_PATH)/common/audio.mk +include $(CM_PATH)/common/bluetooth-le.mk include $(CM_PATH)/common/consumerir.mk include $(CM_PATH)/common/fingerprint.mk include $(CM_PATH)/common/gello.mk diff --git a/product/init.mk b/product/init.mk index f96bf84..c6d3875 100644 --- a/product/init.mk +++ b/product/init.mk @@ -1,4 +1,7 @@ # Init scripts +PRODUCT_PACKAGES += \ + init.qcom.bt.sh + PRODUCT_PACKAGES += \ fstab.qcom \ init.qcom.rc \ diff --git a/product/qcom-bluetooth.mk b/product/qcom-bluetooth.mk deleted file mode 100644 index f96855d..0000000 --- a/product/qcom-bluetooth.mk +++ /dev/null @@ -1,8 +0,0 @@ -# Init -PRODUCT_PACKAGES += \ - init.qcom.bt.sh - -# Permissions -PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ - frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml