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

Commit 81edd99b authored by Chen Chen's avatar Chen Chen Committed by Automerger Merge Worker
Browse files

Merge "SpatialAudio: fix crashes in BluetoothAudioSession" am: 8673f8c2

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2025663

Change-Id: Ieaf742d1f7b76289b4e7b3b759ecad319d441b12
parents 4b572a4d 8673f8c2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -431,9 +431,11 @@ void BluetoothAudioSession::ReportLowLatencyModeAllowedChanged(bool allowed) {
    std::shared_ptr<PortStatusCallbacks> callback = observer.second;
    LOG(INFO) << __func__
              << " - allowed=" << (allowed ? " allowed" : " disallowed");
    if (callback->low_latency_mode_allowed_cb_ != nullptr) {
      callback->low_latency_mode_allowed_cb_(cookie, allowed);
    }
  }
}

bool BluetoothAudioSession::GetPresentationPosition(
    PresentationPosition& presentation_position) {