diff options
| author | Jakub Pawlowski <jpawlowski@google.com> | 2021-10-10 12:20:02 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-10-10 12:20:02 +0000 |
| commit | a7e4b2a3cb1d7dd2a7ff50bb1bc77b0a487fcbf9 (patch) | |
| tree | 4cede24e5ca4442d31a4502c327d22d4e08a2ffd /core/java/android/bluetooth | |
| parent | 74a2b007209923660c1111fcd9363bc28151335c (diff) | |
| parent | e565ebdb8591450dfc952bc060d56a77e04debe6 (diff) | |
Merge "leaudio: Remove not needed group status" am: 6e897f9eb6 am: bea8d8d265 am: 0eeb6b7018 am: 0f473ac71a am: e565ebdb85
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1850202
Change-Id: I80a1cb0daf359dfb941471b694cada033286fbb5
Diffstat (limited to 'core/java/android/bluetooth')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothLeAudio.java | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/core/java/android/bluetooth/BluetoothLeAudio.java b/core/java/android/bluetooth/BluetoothLeAudio.java index a139eba34518..c30c933b6ef8 100644 --- a/core/java/android/bluetooth/BluetoothLeAudio.java +++ b/core/java/android/bluetooth/BluetoothLeAudio.java @@ -199,11 +199,8 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable { * * <p> * <ul> - * <li> {@link #GROUP_STATUS_IDLE} </li> - * <li> {@link #GROUP_STATUS_STREAMING} </li> - * <li> {@link #GROUP_STATUS_SUSPENDED} </li> - * <li> {@link #GROUP_STATUS_RECONFIGURED} </li> - * <li> {@link #GROUP_STATUS_DESTROYED} </li> + * <li> {@link #GROUP_STATUS_ACTIVE} </li> + * <li> {@link #GROUP_STATUS_INACTIVE} </li> * </ul> * <p> * @hide @@ -241,6 +238,19 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable { private final BluetoothAdapter mAdapter; private final AttributionSource mAttributionSource; + /** + * Indicating that group is Active ( Audio device is available ) + * @hide + */ + public static final int GROUP_STATUS_ACTIVE = IBluetoothLeAudio.GROUP_STATUS_ACTIVE; + + /** + * Indicating that group is Inactive ( Audio device is not available ) + * @hide + */ + public static final int GROUP_STATUS_INACTIVE = IBluetoothLeAudio.GROUP_STATUS_INACTIVE; + + private final BluetoothProfileConnector<IBluetoothLeAudio> mProfileConnector = new BluetoothProfileConnector(this, BluetoothProfile.LE_AUDIO, "BluetoothLeAudio", IBluetoothLeAudio.class.getName()) { |
