mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user