summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2012-08-04 00:19:07 +0100
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2012-08-04 00:21:56 +0100
commited7f014263195d6bbb4983a6bb02ac2251e47299 (patch)
tree7c69be56633da9ae0b6c6a810a3e94ebcfc17cb1
parent8f7f62ae24a1ec6474857ff66dc64af7d79325e4 (diff)
downloadvendor_replicant-ed7f014263195d6bbb4983a6bb02ac2251e47299.zip
vendor_replicant-ed7f014263195d6bbb4983a6bb02ac2251e47299.tar.gz
vendor_replicant-ed7f014263195d6bbb4983a6bb02ac2251e47299.tar.bz2
cm: Add default configurations for BT
Since they're now split for phone/tablet, there isn't any default and devices without an explicit config will register as generics. Use sane defaults for both device types, device-specific configs can still override these in their makefiles if necessary Change-Id: Ie20a05d07a047f409bafb20f02d0c673ec2dc250
-rw-r--r--config/common_full_phone.mk5
-rw-r--r--config/common_full_tablet_wifionly.mk4
2 files changed, 9 insertions, 0 deletions
diff --git a/config/common_full_phone.mk b/config/common_full_phone.mk
index 8d69ead..5ee0f7d 100644
--- a/config/common_full_phone.mk
+++ b/config/common_full_phone.mk
@@ -22,6 +22,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PACKAGES += \
Mms
+# BT config
+PRODUCT_COPY_FILES += \
+ system/bluetooth/data/main.conf:system/etc/bluetooth/main.conf
+
+
ifeq ($(TARGET_BOOTANIMATION_NAME),)
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/bootanimation/vertical-480x800.zip:system/media/bootanimation.zip
diff --git a/config/common_full_tablet_wifionly.mk b/config/common_full_tablet_wifionly.mk
index 410bc92..963dfd7 100644
--- a/config/common_full_tablet_wifionly.mk
+++ b/config/common_full_tablet_wifionly.mk
@@ -19,6 +19,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.config.notification_sound=CyanMessage.ogg \
ro.config.alarm_alert=CyanAlarm.ogg
+# BT config
+PRODUCT_COPY_FILES += \
+ system/bluetooth/data/main.nonsmartphone.conf:system/etc/bluetooth/main.conf
+
ifeq ($(TARGET_BOOTANIMATION_NAME),)
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/bootanimation/horizontal-1280x800.zip:system/media/bootanimation.zip