From c0fbb023dbfa5b5af9a30592a1b022383e4e63dc Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 7 Aug 2018 12:50:47 +0200 Subject: [PATCH] P WIP --- bluetooth/bdroid_buildcfg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h index 8e3fe3c..da21831 100644 --- a/bluetooth/bdroid_buildcfg.h +++ b/bluetooth/bdroid_buildcfg.h @@ -26,6 +26,7 @@ static inline const char* BtmDefLocalName() { +#if 0 static char product_device[PROPERTY_VALUE_MAX]; //Huawei-defined property property_get("ro.config.marketing_name", product_device, ""); @@ -35,11 +36,16 @@ static inline const char* BtmDefLocalName() // Fallback to ro.product.model return ""; +#endif + return "hello"; } static inline bool BtmBypassExtraAclSetup() { +#if 0 int8_t prop = property_get_bool("persist.sys.bt_acl_bypass", false); return prop == true; +#endif + return false; } #define BTM_DEF_LOCAL_NAME BtmDefLocalName()