From 94de6ed2e108d1408e236c3b6eb27ce3a3f94370 Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 19 Apr 2020 22:44:37 +0200 Subject: [PATCH] davinci: bluetooth: Copy hardware permissions from frameworks/native Co-authored-by: Fabian Leutenegger Change-Id: Ie09c75a63aca03aa61f3606f761a8b10ccdf7505 --- device.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device.mk b/device.mk index 2f9f1a1..a5f9ad3 100644 --- a/device.mk +++ b/device.mk @@ -27,6 +27,11 @@ $(call inherit-product, vendor/xiaomi/davinci/davinci-vendor.mk) PRODUCT_PACKAGES += \ fs_config_files +# Bluetooth +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ + frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml + # Boot animation TARGET_SCREEN_HEIGHT := 2340 TARGET_SCREEN_WIDTH := 1080