Changes for September 2021, syncing up to v312
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
From 3337759a488bf320bbebcb5b7d5da981555bb758 Mon Sep 17 00:00:00 2001
|
||||
From 5829017394d9c90cf4456f39401db5c57ae54d97 Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Tue, 20 Feb 2018 23:04:50 +0100
|
||||
Subject: [PATCH 1/3] Make BTM_BYPASS_EXTRA_ACL_SETUP dynamic
|
||||
Subject: [PATCH 1/4] Make BTM_BYPASS_EXTRA_ACL_SETUP dynamic
|
||||
|
||||
Change-Id: Icb0868566b29b053ed7e83c9fd32e225af3f2e46
|
||||
---
|
||||
@@ -26,7 +26,7 @@ index 110354f05..b81185e2c 100644
|
||||
/******************************************************************************
|
||||
* Constants & Macros
|
||||
diff --git a/internal_include/bt_target.h b/internal_include/bt_target.h
|
||||
index 4aca86822..57bd69e9f 100644
|
||||
index 63b00b00c..004c0cc66 100644
|
||||
--- a/internal_include/bt_target.h
|
||||
+++ b/internal_include/bt_target.h
|
||||
@@ -32,6 +32,9 @@
|
||||
@@ -40,10 +40,10 @@ index 4aca86822..57bd69e9f 100644
|
||||
#include "bt_types.h" /* This must be defined AFTER buildcfg.h */
|
||||
|
||||
diff --git a/stack/btm/btm_acl.cc b/stack/btm/btm_acl.cc
|
||||
index 3c8a6a69a..894459854 100644
|
||||
index 2c7bebd63..a20e6de34 100644
|
||||
--- a/stack/btm/btm_acl.cc
|
||||
+++ b/stack/btm/btm_acl.cc
|
||||
@@ -1208,17 +1208,17 @@ void btm_read_remote_ext_features_failed(uint8_t status, uint16_t handle) {
|
||||
@@ -1209,17 +1209,17 @@ void btm_read_remote_ext_features_failed(uint8_t status, uint16_t handle) {
|
||||
void btm_establish_continue(tACL_CONN* p_acl_cb) {
|
||||
tBTM_BL_EVENT_DATA evt_data;
|
||||
BTM_TRACE_DEBUG("btm_establish_continue");
|
||||
@@ -72,7 +72,7 @@ index 3c8a6a69a..894459854 100644
|
||||
BTM_TRACE_ERROR("%s: Already link is up ", __func__);
|
||||
return;
|
||||
diff --git a/stack/btm/btm_sec.cc b/stack/btm/btm_sec.cc
|
||||
index 63e4f6ce1..7dea81b44 100644
|
||||
index bdda174ac..d04741367 100644
|
||||
--- a/stack/btm/btm_sec.cc
|
||||
+++ b/stack/btm/btm_sec.cc
|
||||
@@ -4168,15 +4168,15 @@ void btm_sec_connected(const RawAddress& bda, uint16_t handle, uint8_t status,
|
||||
@@ -101,5 +101,5 @@ index 63e4f6ce1..7dea81b44 100644
|
||||
btm_acl_created(bda, p_dev_rec->dev_class, p_dev_rec->sec_bd_name, handle,
|
||||
HCI_ROLE_SLAVE, BT_TRANSPORT_BR_EDR);
|
||||
--
|
||||
2.17.1
|
||||
2.25.1
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From a39b9abfe1e7e1bea9c409a1680cb6f18a6ec354 Mon Sep 17 00:00:00 2001
|
||||
From eeea95f0991885edec372341a77c440da9298706 Mon Sep 17 00:00:00 2001
|
||||
From: penn5 <penn5@users.noreply.github.com>
|
||||
Date: Mon, 4 Mar 2019 22:21:07 +0000
|
||||
Subject: [PATCH 2/3] Add props to control supported features and states (#1)
|
||||
Subject: [PATCH 2/4] Add props to control supported features and states (#1)
|
||||
|
||||
* Add bitmask for supported fields
|
||||
Use persist.sys.bt.unsupport.states, defaults to 0, left-aligned.
|
||||
@@ -149,5 +149,5 @@ index b1efd444d..88dc4c6cd 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.17.1
|
||||
2.25.1
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From eba7ce1a14f942bfdc6ac93eac14188b7b2b91ec Mon Sep 17 00:00:00 2001
|
||||
From edfc435eb11aeaf581084e55b4295cecb0a3fe47 Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Mon, 25 May 2020 21:25:12 +0200
|
||||
Subject: [PATCH 3/3] Add persist.sys.phh.disable_a2dp_offload property to
|
||||
Subject: [PATCH 3/4] Add persist.sys.phh.disable_a2dp_offload property to
|
||||
force a2dp offload
|
||||
|
||||
---
|
||||
@@ -10,10 +10,10 @@ Subject: [PATCH 3/3] Add persist.sys.phh.disable_a2dp_offload property to
|
||||
2 files changed, 13 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/btif/src/btif_av.cc b/btif/src/btif_av.cc
|
||||
index 1003b0f82..b7832a478 100644
|
||||
index 679ec5ef5..0cab72a4a 100644
|
||||
--- a/btif/src/btif_av.cc
|
||||
+++ b/btif/src/btif_av.cc
|
||||
@@ -968,9 +968,14 @@ bt_status_t BtifAvSource::Init(
|
||||
@@ -971,9 +971,14 @@ bt_status_t BtifAvSource::Init(
|
||||
osi_property_get("ro.bluetooth.a2dp_offload.supported", value_sup, "false");
|
||||
osi_property_get("persist.bluetooth.a2dp_offload.disabled", value_dis,
|
||||
"false");
|
||||
@@ -30,10 +30,10 @@ index 1003b0f82..b7832a478 100644
|
||||
callbacks_ = callbacks;
|
||||
if (a2dp_offload_enabled_) {
|
||||
diff --git a/stack/a2dp/a2dp_codec_config.cc b/stack/a2dp/a2dp_codec_config.cc
|
||||
index edf7e0c46..795cbab9c 100644
|
||||
index 5f4371fbc..b9d91f3d8 100644
|
||||
--- a/stack/a2dp/a2dp_codec_config.cc
|
||||
+++ b/stack/a2dp/a2dp_codec_config.cc
|
||||
@@ -560,13 +560,18 @@ bool A2dpCodecs::init() {
|
||||
@@ -573,13 +573,18 @@ bool A2dpCodecs::init() {
|
||||
char* tok = NULL;
|
||||
char* tmp_token = NULL;
|
||||
bool offload_codec_support[BTAV_A2DP_CODEC_INDEX_MAX] = {false};
|
||||
@@ -53,7 +53,7 @@ index edf7e0c46..795cbab9c 100644
|
||||
|
||||
if (a2dp_offload_status) {
|
||||
char value_cap[PROPERTY_VALUE_MAX];
|
||||
@@ -654,7 +659,7 @@ bool A2dpCodecs::init() {
|
||||
@@ -667,7 +672,7 @@ bool A2dpCodecs::init() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,5 +63,5 @@ index edf7e0c46..795cbab9c 100644
|
||||
|
||||
A2dpCodecConfig* A2dpCodecs::findSourceCodecConfig(
|
||||
--
|
||||
2.17.1
|
||||
2.25.1
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From f40e85b84e53cccee6a80e5aff2db2adec55dfeb Mon Sep 17 00:00:00 2001
|
||||
From 362b7dad26bf6bb77f82bed4f15ff14dc8b8d7cc Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Mon, 7 Jun 2021 17:09:13 -0400
|
||||
Subject: [PATCH 5/5] Add a property to disable eSCO
|
||||
Subject: [PATCH 4/4] Add a property to disable eSCO
|
||||
|
||||
eSCO is troublesome on some old devices.
|
||||
It is unknown whether it applies to any Treble device, but investigation
|
||||
Reference in New Issue
Block a user