summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Łukasz Rymanowski <rlukasz@google.com> 2025-03-17 15:08:25 +0000
committer Łukasz Rymanowski (xWF) <rlukasz@google.com> 2025-03-20 02:32:21 -0700
commit4356efed58e6b510fe73063016d57291f38ebe93 (patch)
treea4482bcf8e26646436841524d299579fbd2b6b79
parente9fa461492231c8cc6249d208097ac314fd4f33c (diff)
flag: Remove leaudio_improve_switch_during_phone_call flag
Flag has been delivered Bug: 369322905 Test: mmm packages/modules/Bluetooth Flag: EXEMPT, flag cleanup Change-Id: I774c0dfb9b17848d5bc1ef1e97d611f8b277437f
-rw-r--r--flags/leaudio.aconfig10
-rw-r--r--system/bta/le_audio/client.cc5
-rw-r--r--system/bta/le_audio/le_audio_client_test.cc4
3 files changed, 0 insertions, 19 deletions
diff --git a/flags/leaudio.aconfig b/flags/leaudio.aconfig
index 0c005a3463..ad06ad64a1 100644
--- a/flags/leaudio.aconfig
+++ b/flags/leaudio.aconfig
@@ -130,16 +130,6 @@ flag {
}
flag {
- name: "leaudio_improve_switch_during_phone_call"
- namespace: "bluetooth"
- description: "Fix audio slip to speaker while switching bt audio device during phonecall"
- bug: "369322905"
- metadata {
- purpose: PURPOSE_BUGFIX
- }
-}
-
-flag {
name: "leaudio_sort_scans_to_sync_by_fails"
namespace: "bluetooth"
description: "Sort scan results for source sync by fails counter"
diff --git a/system/bta/le_audio/client.cc b/system/bta/le_audio/client.cc
index 388070ef8a..ff1b7e2c77 100644
--- a/system/bta/le_audio/client.cc
+++ b/system/bta/le_audio/client.cc
@@ -1636,11 +1636,6 @@ public:
}
void PrepareStreamForAConversational(LeAudioDeviceGroup* group) {
- if (!com::android::bluetooth::flags::leaudio_improve_switch_during_phone_call()) {
- log::info("Flag leaudio_improve_switch_during_phone_call is not enabled");
- return;
- }
-
log::debug("group_id: {}", group->group_id_);
auto remote_direction = bluetooth::le_audio::types::kLeAudioDirectionSink;
diff --git a/system/bta/le_audio/le_audio_client_test.cc b/system/bta/le_audio/le_audio_client_test.cc
index 5b72088f3d..69cd0fe768 100644
--- a/system/bta/le_audio/le_audio_client_test.cc
+++ b/system/bta/le_audio/le_audio_client_test.cc
@@ -5022,7 +5022,6 @@ TEST_F(UnicastTest, GroupSetActive_and_InactiveDuringStreamConfiguration) {
}
TEST_F(UnicastTest, AnotherGroupSetActive_DuringMediaStream) {
- com::android::bluetooth::flags::provider_->leaudio_improve_switch_during_phone_call(true);
const RawAddress test_address0 = GetTestAddress(0);
const RawAddress test_address1 = GetTestAddress(1);
int group_id_1 = 1;
@@ -5101,7 +5100,6 @@ TEST_F(UnicastTest, AnotherGroupSetActive_DuringMediaStream) {
}
TEST_F(UnicastTest, AnotherGroupSetActive_DuringVoip) {
- com::android::bluetooth::flags::provider_->leaudio_improve_switch_during_phone_call(true);
const RawAddress test_address0 = GetTestAddress(0);
const RawAddress test_address1 = GetTestAddress(1);
int group_id_1 = 1;
@@ -5174,7 +5172,6 @@ TEST_F(UnicastTest, AnotherGroupSetActive_DuringVoip) {
}
TEST_F(UnicastTest, GroupSetActive_and_GroupSetInactive_DuringPhoneCall) {
- com::android::bluetooth::flags::provider_->leaudio_improve_switch_during_phone_call(true);
const RawAddress test_address0 = GetTestAddress(0);
int group_id = bluetooth::groups::kGroupUnknown;
@@ -5221,7 +5218,6 @@ TEST_F(UnicastTest, GroupSetActive_and_GroupSetInactive_DuringPhoneCall) {
}
TEST_F(UnicastTest, GroupSetActive_DuringPhoneCall_ThenResume) {
- com::android::bluetooth::flags::provider_->leaudio_improve_switch_during_phone_call(true);
const RawAddress test_address0 = GetTestAddress(0);
int group_id = bluetooth::groups::kGroupUnknown;