mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Minor handle refine for setLowLatencyModeAllowed am: 42b85abe9c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2837536 Change-Id: Id615f5a6c41f242f5ce6965f6187e15ff0c754ab Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -439,6 +439,9 @@ void BluetoothAudioSession::ReportControlStatus(bool start_resp,
|
||||
}
|
||||
|
||||
void BluetoothAudioSession::ReportLowLatencyModeAllowedChanged(bool allowed) {
|
||||
if (session_type_ != SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH) {
|
||||
return;
|
||||
}
|
||||
std::lock_guard<std::recursive_mutex> guard(mutex_);
|
||||
low_latency_allowed_ = allowed;
|
||||
// TODO(b/294498919): Remove this after there is API to update latency mode
|
||||
|
||||
Reference in New Issue
Block a user