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

Commit c8d23ca1 authored by Jack He's avatar Jack He Committed by Automerger Merge Worker
Browse files

Merge "leaudio: Flag code changing order of the java callbacks" into main am:...

Merge "leaudio: Flag code changing order of the java callbacks" into main am: 7c3e7669 am: 62a5c91f

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



Change-Id: I1b93b7bfd3dbcf85b8c6d9e9bac096ce0176e570
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a9773415 62a5c91f
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1323,8 +1323,13 @@ class LeAudioClientImpl : public LeAudioClient {

    /* Reset sink listener notified status */
    sink_monitor_notified_status_ = std::nullopt;
    if (IS_FLAG_ENABLED(leaudio_codec_config_callback_order_fix)) {
      SendAudioGroupSelectableCodecConfigChanged(group);
      callbacks_->OnGroupStatus(active_group_id_, GroupStatus::ACTIVE);
    } else {
      callbacks_->OnGroupStatus(active_group_id_, GroupStatus::ACTIVE);
      SendAudioGroupSelectableCodecConfigChanged(group);
    }
  }

  void SetEnableState(const RawAddress& address, bool enabled) override {