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

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

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

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

Change-Id: I25913e948f137e057899e30b5e665e0673e3207b
parents 650468af 81edd99b
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) {