sm7250-common: Remove bdroid_buildcfg.h

As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
This commit is contained in:
Michael Bestas 2022-09-29 12:35:43 +03:00 committed by mikairyuu
parent 24811f7a3c
commit 243a3a7edc
2 changed files with 0 additions and 62 deletions

View File

@ -46,9 +46,6 @@ USE_CUSTOM_AUDIO_POLICY := 1
TARGET_BOOTLOADER_BOARD_NAME := lito TARGET_BOOTLOADER_BOARD_NAME := lito
TARGET_NO_BOOTLOADER := true TARGET_NO_BOOTLOADER := true
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth/include
# Display # Display
BOARD_USES_ADRENO := true BOARD_USES_ADRENO := true
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x546C00000000 TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x546C00000000

View File

@ -1,59 +0,0 @@
/*
*
* Copyright (c) 2013, The Linux Foundation. All rights reserved.
* Not a Contribution, Apache license notifications and license are retained
* for attribution purposes only.
*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H
#include <stdint.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
int property_get(const char *key, char *value, const char *default_value);
#ifdef __cplusplus
}
#endif
static inline const char* BtmGetDefaultName()
{
char product_device[92];
property_get("ro.product.device", product_device, "");
if (strstr(product_device, "monet"))
return "Mi 10 Lite 5G";
if (strstr(product_device, "vangogh"))
return "Mi 10 Lite Zoom";
if (strstr(product_device, "picasso"))
return "Redmi K30 5G";
// Fallback to Xiaomi Generic
return "Xiaomi";
}
#define BTM_DEF_LOCAL_NAME BtmGetDefaultName()
// Disables read remote device feature
#define BTM_WBS_INCLUDED TRUE
#define BTIF_HF_WBS_PREFERRED TRUE
#define BLE_VND_INCLUDED TRUE
#endif