Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e8ba418 authored by Shunkai Yao's avatar Shunkai Yao
Browse files

Update Bluetooth AidlInterfaceVersion

Bug: 307291692
Test: m aosp_panther-userdebug
Test: Flash and bootup AOSP panther
Change-Id: I0ff27b0f261b37c98008eb6473a72398e31d0c77
Merged-In: I0ff27b0f261b37c98008eb6473a72398e31d0c77
parent f615e985
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ BluetoothAudioHalTransport HalVersionManager::GetHalTransport() {
    case BluetoothAudioHalVersion::VERSION_AIDL_V1:
    case BluetoothAudioHalVersion::VERSION_AIDL_V2:
    case BluetoothAudioHalVersion::VERSION_AIDL_V3:
    case BluetoothAudioHalVersion::VERSION_AIDL_V4:
      return BluetoothAudioHalTransport::AIDL;
    case BluetoothAudioHalVersion::VERSION_2_0:
    case BluetoothAudioHalVersion::VERSION_2_1:
@@ -119,6 +120,8 @@ BluetoothAudioHalVersion GetAidlInterfaceVersion() {
      return BluetoothAudioHalVersion::VERSION_AIDL_V2;
    case 3:
      return BluetoothAudioHalVersion::VERSION_AIDL_V3;
    case 4:
      return BluetoothAudioHalVersion::VERSION_AIDL_V4;
    default:
      LOG_ERROR("Unknown AIDL version %d", aidl_version);
      return BluetoothAudioHalVersion::VERSION_UNAVAILABLE;
+2 −1
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ enum class BluetoothAudioHalVersion : uint8_t {
  VERSION_2_1,
  VERSION_AIDL_V1,
  VERSION_AIDL_V2,
  VERSION_AIDL_V3
  VERSION_AIDL_V3,
  VERSION_AIDL_V4,
};

enum class BluetoothAudioHalTransport : uint8_t {