From 0412eca50460e317d9e3ba073a028f274cf08c0c Mon Sep 17 00:00:00 2001 From: Patty Huang Date: Thu, 12 Jan 2023 16:31:20 +0800 Subject: [PATCH] Add field `isStreamActive` in LeAudioConfiguration to indicate the stream status Tag: #feature Bug: 249614160 Test: m android.hardware.bluetooth.audio-update-api Change-Id: I7930d30a1bc2f2862489f9e70e45926589996ce7 --- .../hardware/bluetooth/audio/LeAudioConfiguration.aidl | 1 + .../hardware/bluetooth/audio/LeAudioConfiguration.aidl | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/LeAudioConfiguration.aidl b/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/LeAudioConfiguration.aidl index edb6795ddc..679655c8dd 100644 --- a/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/LeAudioConfiguration.aidl +++ b/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/LeAudioConfiguration.aidl @@ -42,5 +42,6 @@ parcelable LeAudioConfiguration { parcelable StreamMap { char streamHandle; int audioChannelAllocation; + boolean isStreamActive; } } diff --git a/bluetooth/audio/aidl/android/hardware/bluetooth/audio/LeAudioConfiguration.aidl b/bluetooth/audio/aidl/android/hardware/bluetooth/audio/LeAudioConfiguration.aidl index 0d1e3ded93..f22f309f74 100644 --- a/bluetooth/audio/aidl/android/hardware/bluetooth/audio/LeAudioConfiguration.aidl +++ b/bluetooth/audio/aidl/android/hardware/bluetooth/audio/LeAudioConfiguration.aidl @@ -35,6 +35,10 @@ parcelable LeAudioConfiguration { * Audio Location assigned number. */ int audioChannelAllocation; + /* + * The stream handle status + */ + boolean isStreamActive; } CodecType codecType; StreamMap[] streamMap;