aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2023-05-28 20:00:27 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2023-05-28 20:00:27 +0530
commite1f286a0fc516140843b1a86865d04af43f2773d (patch)
treead6bd1e049c064a9769eb0191838e0d0407927d4
parent5a416e7337c4f630f16b4533884c97585a0e43ce (diff)
remote bdroid_buildcfg.h
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--bluetooth/bdroid_buildcfg.h59
2 files changed, 0 insertions, 60 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 1d7dfe7..28371b8 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -92,7 +92,6 @@ BOARD_USES_ALSA_AUDIO := true
USE_CUSTOM_AUDIO_POLICY := 1
# Bluetooth
-BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(VENDOR_PATH)/bluetooth
BOARD_HAS_QCA_BT_ROME := true
BOARD_HAVE_BLUETOOTH_QCOM := true
QCOM_BT_USE_BTNV := true
diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h
deleted file mode 100644
index dbd488b..0000000
--- a/bluetooth/bdroid_buildcfg.h
+++ /dev/null
@@ -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
-
-#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, "z2_plus"))
- return "Zuk Z2 Plus";
- if (strstr(product_device, "z2_row"))
- return "Zuk Z2 Pro";
-
- // Fallback to ro.product.model
- return "";
-}
-
-#define BTM_DEF_LOCAL_NAME BtmGetDefaultName()
-// Disables read remote device feature
-#define BTA_SKIP_BLE_READ_REMOTE_FEAT FALSE
-#define MAX_ACL_CONNECTIONS 7
-#define MAX_L2CAP_CHANNELS 16
-#define BLE_VND_INCLUDED TRUE
-// skips conn update at conn completion
-#define BTA_BLE_SKIP_CONN_UPD FALSE
-#define BLE_PERIPHERAL_ADV_NAME FALSE
-
-/* Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec */
-#define AVDT_NUM_SEPS 12
-
-#pragma pop_macro("PROPERTY_VALUE_MAX")
-
-#endif