Permalink
Browse files

[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>
  • Loading branch information...
1 parent ca19166 commit d842aecabf50fb4b6484b05869e5d811ed2ac516 @murpdj72 murpdj72 committed Jan 31, 2012
Showing with 28 additions and 0 deletions.
  1. +21 −0 android.hardware.bluetooth.xml
  2. +7 −0 device.mk
@@ -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>
View
@@ -26,6 +26,7 @@ PRODUCT_COPY_FILES := \
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 @@ PRODUCT_PACKAGES += \
audio.a2dp.default \
libaudioutils
+
PRODUCT_PACKAGES += \
dhcpcd.conf \
TQS_D_1.7.ini \
@@ -67,6 +69,11 @@ PRODUCT_PACKAGES += \
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)

0 comments on commit d842aec

Please sign in to comment.