aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Kuo <aliceypkuo@google.com>2021-11-04 17:09:15 +0800
committerAlice Kuo <aliceypkuo@google.com>2021-11-04 09:14:41 +0000
commit5eee8e2c145256874b0d6cf050417c5285477c26 (patch)
tree6dc7f8de070b3bac7c3970a2afc447f2d5daa98b
parent19681cdb683aeb592ba9183177c23b924fecdd94 (diff)
downloadbt-5eee8e2c145256874b0d6cf050417c5285477c26.tar.gz
LE audio: Check the HAL version is newer than HIDL 2.1
The LE audio thing doesn't only support on HIDL HAL 2.1. We need to change the logic that it could be supported after HIDL HAL 2.1 Bug: 205080142 Bug: 150670922 Test: Bluetooth could turn on with newer HIDL HAL (2.2) Change-Id: I8c4e445de59b6ec417b2d17f7606ac9305759c11
-rw-r--r--bta/le_audio/hal_verifier.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bta/le_audio/hal_verifier.cc b/bta/le_audio/hal_verifier.cc
index 6fd2c6641..921071443 100644
--- a/bta/le_audio/hal_verifier.cc
+++ b/bta/le_audio/hal_verifier.cc
@@ -18,6 +18,6 @@
#include "bta_le_audio_api.h"
bool LeAudioHalVerifier::SupportsLeAudio() {
- return bluetooth::audio::HalVersionManager::GetHalVersion() ==
+ return bluetooth::audio::HalVersionManager::GetHalVersion() >=
bluetooth::audio::BluetoothAudioHalVersion::VERSION_2_1;
}