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

Commit 7c3e7669 authored by Jack He's avatar Jack He Committed by Gerrit Code Review
Browse files

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

parents 4b4116fe 69eea97b
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 {