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

Commit 7045a941 authored by Roopa Sattiraju's avatar Roopa Sattiraju Committed by Gerrit Code Review
Browse files

Merge "A2DP switch device refactor"

parents a8020441 d91616bd
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -271,11 +271,7 @@ void BluetoothAudioPort::SessionChangedHandler() {
  BluetoothStreamState previous_state = state_;
  LOG(INFO) << "session_changed_cb: session_type=" << toString(session_type_)
            << ", cookie=" << StringPrintf("%#hx", cookie_) << ", previous_state=" << previous_state;
  if (previous_state != BluetoothStreamState::DISABLED) {
  state_ = BluetoothStreamState::DISABLED;
  } else {
    state_ = BluetoothStreamState::STANDBY;
  }
  port_lock.unlock();
  internal_cv_.notify_all();
}