P WIP
This commit is contained in:
parent
7b82dab9d2
commit
c0fbb023db
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
static inline const char* BtmDefLocalName()
|
static inline const char* BtmDefLocalName()
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
static char product_device[PROPERTY_VALUE_MAX];
|
static char product_device[PROPERTY_VALUE_MAX];
|
||||||
//Huawei-defined property
|
//Huawei-defined property
|
||||||
property_get("ro.config.marketing_name", product_device, "");
|
property_get("ro.config.marketing_name", product_device, "");
|
||||||
@ -35,11 +36,16 @@ static inline const char* BtmDefLocalName()
|
|||||||
|
|
||||||
// Fallback to ro.product.model
|
// Fallback to ro.product.model
|
||||||
return "";
|
return "";
|
||||||
|
#endif
|
||||||
|
return "hello";
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool BtmBypassExtraAclSetup() {
|
static inline bool BtmBypassExtraAclSetup() {
|
||||||
|
#if 0
|
||||||
int8_t prop = property_get_bool("persist.sys.bt_acl_bypass", false);
|
int8_t prop = property_get_bool("persist.sys.bt_acl_bypass", false);
|
||||||
return prop == true;
|
return prop == true;
|
||||||
|
#endif
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define BTM_DEF_LOCAL_NAME BtmDefLocalName()
|
#define BTM_DEF_LOCAL_NAME BtmDefLocalName()
|
||||||
|
Loading…
Reference in New Issue
Block a user