aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSal Savage <salsavage@google.com>2022-04-15 15:38:17 -0700
committerLuK1337 <priv.luk@gmail.com>2022-10-11 20:34:33 +0200
commit4b6c8b69b3034223c39129a1fd0c9f05c37332ac (patch)
tree9e08cfec8a9c15de383f445dbdf776414d647b5a
parent5a23b840bd7b5ed5ef035645bd98e5c47b93cf20 (diff)
guacamole: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
-rw-r--r--BoardConfig.mk1
-rw-r--r--bluetooth/include/bdroid_buildcfg.h1
-rw-r--r--vendor.prop2
3 files changed, 3 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 7f7f1b1..39c2f51 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -25,6 +25,7 @@ BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824
# Properties
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/product.prop
+TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Recovery
BOARD_USES_RECOVERY_AS_BOOT := true
diff --git a/bluetooth/include/bdroid_buildcfg.h b/bluetooth/include/bdroid_buildcfg.h
index eaeec98..80dab5e 100644
--- a/bluetooth/include/bdroid_buildcfg.h
+++ b/bluetooth/include/bdroid_buildcfg.h
@@ -21,7 +21,6 @@
#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H
-#define BTM_DEF_LOCAL_NAME "OnePlus 7 Pro"
// Disables read remote device feature
#define BTM_WBS_INCLUDED TRUE
#define BTIF_HF_WBS_PREFERRED TRUE
diff --git a/vendor.prop b/vendor.prop
new file mode 100644
index 0000000..6ff5323
--- /dev/null
+++ b/vendor.prop
@@ -0,0 +1,2 @@
+# Bluetooth
+bluetooth.device.default_name=OnePlus 7 Pro