From 0cd341b245f964da3f2fb313fcd77291ba289ae2 Mon Sep 17 00:00:00 2001 From: Alice Kuo Date: Wed, 9 Feb 2022 13:27:37 +0800 Subject: [PATCH] Add the BluetoothAudioStatus for the reconfiguration As the PortStatusCallback to notify the control or the audio configuration change, audio HAL may need the information to know the BluetoothAudioStatus. Bug: 197296692 Test: make build Change-Id: I213ac4389693a6e098ebd3f8ae7e6e66ae8675be --- .../android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl | 1 + .../android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl b/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl index 7c0d82588c..c20c057626 100644 --- a/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl +++ b/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl @@ -38,4 +38,5 @@ enum BluetoothAudioStatus { SUCCESS = 1, UNSUPPORTED_CODEC_CONFIGURATION = 2, FAILURE = 3, + RECONFIGURATION = 4, } diff --git a/bluetooth/audio/aidl/android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl b/bluetooth/audio/aidl/android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl index ec78445e6e..9ddafe9ad5 100644 --- a/bluetooth/audio/aidl/android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl +++ b/bluetooth/audio/aidl/android/hardware/bluetooth/audio/BluetoothAudioStatus.aidl @@ -23,5 +23,6 @@ enum BluetoothAudioStatus { SUCCESS = 1, UNSUPPORTED_CODEC_CONFIGURATION = 2, // General failure - FAILURE = 3 + FAILURE = 3, + RECONFIGURATION = 4, }