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

Commit df6ccbfc authored by Roopa Sattiraju's avatar Roopa Sattiraju Committed by Automerger Merge Worker
Browse files

Merge "A2DP switch device refactor" am: 7045a941

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

Change-Id: I3e5d1bcfa91280b2978a6e05df48e17b47fb7ac2
parents 90cf86b8 7045a941
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();
}