Merge "SpatialAudio: fix crashes in BluetoothAudioSession" am: 8673f8c28f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2025663 Change-Id: Ieaf742d1f7b76289b4e7b3b759ecad319d441b12
This commit is contained in:
commit
81edd99b87
1 changed files with 3 additions and 1 deletions
|
@ -431,7 +431,9 @@ void BluetoothAudioSession::ReportLowLatencyModeAllowedChanged(bool allowed) {
|
|||
std::shared_ptr<PortStatusCallbacks> callback = observer.second;
|
||||
LOG(INFO) << __func__
|
||||
<< " - allowed=" << (allowed ? " allowed" : " disallowed");
|
||||
callback->low_latency_mode_allowed_cb_(cookie, allowed);
|
||||
if (callback->low_latency_mode_allowed_cb_ != nullptr) {
|
||||
callback->low_latency_mode_allowed_cb_(cookie, allowed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue