diff options
Diffstat (limited to 'system/audio_hal_interface/a2dp_encoding.cc')
-rw-r--r-- | system/audio_hal_interface/a2dp_encoding.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/system/audio_hal_interface/a2dp_encoding.cc b/system/audio_hal_interface/a2dp_encoding.cc index b2cead3320..d0028e1ef9 100644 --- a/system/audio_hal_interface/a2dp_encoding.cc +++ b/system/audio_hal_interface/a2dp_encoding.cc @@ -140,11 +140,9 @@ void set_remote_delay(uint16_t delay_report) { // Set low latency buffer mode allowed or disallowed void set_audio_low_latency_mode_allowed(bool allowed) { if (HalVersionManager::GetHalTransport() == - BluetoothAudioHalTransport::HIDL) { - hidl::a2dp::set_low_latency_mode_allowed(allowed); - return; + BluetoothAudioHalTransport::AIDL) { + aidl::a2dp::set_low_latency_mode_allowed(allowed); } - aidl::a2dp::set_low_latency_mode_allowed(allowed); } } // namespace a2dp |