Merge "leaudio: Remove not needed group status" am: 6e897f9eb6 am: bea8d8d265

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1850202

Change-Id: Ic0a9be6ac13f509fc18baad5981a60eab284caa6
This commit is contained in:
Jakub Pawlowski 2021-10-10 11:47:58 +00:00 committed by Automerger Merge Worker
commit 0eeb6b7018

View File

@ -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()) {