Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0db28216 authored by Rongxuan Liu's avatar Rongxuan Liu Committed by Automerger Merge Worker
Browse files

Merge "Remove released flag leaudio_enable_health_based_actions from test...

Merge "Remove released flag leaudio_enable_health_based_actions from test file" into main am: 11ff224d

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3142220



Change-Id: Iac7ec26562a638725274c1e9d9fe6ac2876c965f
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 225899a5 11ff224d
Loading
Loading
Loading
Loading
+1 −15
Original line number Diff line number Diff line
@@ -101,15 +101,6 @@ static constexpr char kNotifyUpperLayerAboutGroupBeingInIdleDuringCall[] =
const char* test_flags[] = {
    "INIT_default_log_level_str=LOG_VERBOSE",
    "INIT_leaudio_targeted_announcement_reconnection_mode=true",
    "INIT_leaudio_enable_health_based_actions=false",
    "INIT_leaudio_broadcast_audio_handover_policies=false",
    nullptr,
};

const char* test_flags_with_health_status[] = {
    "INIT_default_log_level_str=LOG_VERBOSE",
    "INIT_leaudio_targeted_announcement_reconnection_mode=true",
    "INIT_leaudio_enable_health_based_actions=true",
    "INIT_leaudio_broadcast_audio_handover_policies=false",
    nullptr,
};
@@ -117,7 +108,6 @@ const char* test_flags_with_health_status[] = {
const char* test_flags_with_handover_mode[] = {
    "INIT_default_log_level_str=LOG_VERBOSE",
    "INIT_leaudio_targeted_announcement_reconnection_mode=true",
    "INIT_leaudio_enable_health_based_actions=false",
    "INIT_leaudio_broadcast_audio_handover_policies=true",
    nullptr,
};
@@ -375,7 +365,6 @@ class MockLeAudioSourceHalClient : public LeAudioSourceAudioHalClient {

class UnicastTestNoInit : public Test {
 public:
  bool use_health_status = false;
  bool use_handover_mode = false;

 protected:
@@ -423,9 +412,7 @@ class UnicastTestNoInit : public Test {
  }

  void SetUpMockAudioHal() {
    if (use_health_status) {
      bluetooth::common::InitFlags::Load(test_flags_with_health_status);
    } else if (use_handover_mode) {
    if (use_handover_mode) {
      bluetooth::common::InitFlags::Load(test_flags_with_handover_mode);
    } else {
      bluetooth::common::InitFlags::Load(test_flags);
@@ -2925,7 +2912,6 @@ class UnicastTest : public UnicastTestNoInit {
class UnicastTestHealthStatus : public UnicastTest {
 protected:
  void SetUp() override {
    use_health_status = true;
    UnicastTest::SetUp();
    group_ = new LeAudioDeviceGroup(group_id_);
  }