sm7125-common: Decommonise bluetooth device name

tirimbino
Ruchit Marathe 2 years ago
parent 7579630da1
commit 89fa89330f
  1. 28
      bluetooth/include/bdroid_buildcfg.h

@ -23,32 +23,6 @@
#ifndef _BDROID_BUILDCFG_H #ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H #define _BDROID_BUILDCFG_H
#pragma push_macro("PROPERTY_VALUE_MAX")
#if !defined(OS_GENERIC)
#include <cutils/properties.h>
#include <string.h>
static inline const char* getBTDefaultName()
{
char device[PROPERTY_VALUE_MAX];
property_get("ro.product.device", device, "");
if (!strcmp("a52q", device)) {
return "Galaxy A52 4G";
}
if (!strcmp("a72q", device)) {
return "Galaxy A72 4G";
}
return "Samsung Galaxy";
}
#define BTM_DEF_LOCAL_NAME getBTDefaultName()
#endif /* OS_GENERIC */
#define BLE_VND_INCLUDED TRUE #define BLE_VND_INCLUDED TRUE
#define MAX_ACL_CONNECTIONS 16 #define MAX_ACL_CONNECTIONS 16
#define MAX_L2CAP_CHANNELS 32 #define MAX_L2CAP_CHANNELS 32
@ -56,6 +30,4 @@ static inline const char* getBTDefaultName()
#define AVDT_NUM_SEPS 35 #define AVDT_NUM_SEPS 35
#pragma pop_macro("PROPERTY_VALUE_MAX")
#endif #endif

Loading…
Cancel
Save