[Panda] Add bluetooth permission file

Add bluetooth permission file to the panda
device tree and include it in the build

Change-Id: I9370e108d5446c2b257486786e1f133064b69cbd
Signed-off-by: Dan Murphy <dmurphy@ti.com>
diff --git a/android.hardware.bluetooth.xml b/android.hardware.bluetooth.xml
new file mode 100644
index 0000000..569f857
--- /dev/null
+++ b/android.hardware.bluetooth.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<!-- This is the standard feature indicating that the device includes
+Bluetooth -->
+<permissions>
+    <feature name="android.hardware.bluetooth" />
+</permissions>
diff --git a/device.mk b/device.mk
index 3d17a67..f2aab86 100644
--- a/device.mk
+++ b/device.mk
@@ -26,6 +26,7 @@
 	device/ti/panda/init.omap4pandaboard.usb.rc:root/init.omap4pandaboard.usb.rc \
 	device/ti/panda/ueventd.omap4pandaboard.rc:root/ueventd.omap4pandaboard.rc \
 	device/ti/panda/media_profiles.xml:system/etc/media_profiles.xml \
+	device/ti/panda/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
 	frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
 	frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
 	frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
@@ -58,6 +59,7 @@
 	audio.a2dp.default \
 	libaudioutils
 
+
 PRODUCT_PACKAGES += \
 	dhcpcd.conf \
 	TQS_D_1.7.ini \
@@ -67,6 +69,11 @@
 PRODUCT_PACKAGES += \
 	make_ext4fs
 
+# BlueZ test tools
+PRODUCT_PACKAGES += \
+	hciconfig \
+	hcitool
+
 $(call inherit-product-if-exists, vendor/ti/panda/device-vendor.mk)
 $(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk)
 $(call inherit-product, hardware/ti/omap4xxx/omap4.mk)