mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: bluetooth: Drop bt header
This commit is contained in:
parent
ddcca81876
commit
4a7ed2114a
2 changed files with 0 additions and 32 deletions
|
|
@ -37,7 +37,6 @@ TARGET_2ND_CPU_VARIANT := cortex-a53
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth
|
|
||||||
BOARD_HAVE_BLUETOOTH_SLSI := true
|
BOARD_HAVE_BLUETOOTH_SLSI := true
|
||||||
|
|
||||||
# Build system
|
# Build system
|
||||||
|
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
#ifndef _BDROID_BUILDCFG_H
|
|
||||||
#define _BDROID_BUILDCFG_H
|
|
||||||
|
|
||||||
#pragma push_macro("PROPERTY_VALUE_MAX")
|
|
||||||
|
|
||||||
#include <cutils/properties.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
static inline const char *BtmGetDefaultName() {
|
|
||||||
char product_device[PROPERTY_VALUE_MAX];
|
|
||||||
property_get("ro.product.device", product_device, "");
|
|
||||||
|
|
||||||
if (strstr(product_device, "a10"))
|
|
||||||
return "Galaxy A10";
|
|
||||||
if (strstr(product_device, "a20e"))
|
|
||||||
return "Galaxy A20e";
|
|
||||||
if (strstr(product_device, "a20"))
|
|
||||||
return "Galaxy A20";
|
|
||||||
if (strstr(product_device, "a30"))
|
|
||||||
return "Galaxy A30";
|
|
||||||
if (strstr(product_device, "a40"))
|
|
||||||
return "Galaxy A40";
|
|
||||||
// Fallback to Generic
|
|
||||||
return "Samsung Galaxy";
|
|
||||||
}
|
|
||||||
|
|
||||||
#define BTM_DEF_LOCAL_NAME BtmGetDefaultName()
|
|
||||||
#define BTM_ESCO_TRANSPORT_UNIT_SIZE_PCM16
|
|
||||||
|
|
||||||
#pragma pop_macro("PROPERTY_VALUE_MAX")
|
|
||||||
#endif
|
|
||||||
Loading…
Reference in a new issue