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

Commit e565ebdb authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Automerger Merge Worker
Browse files

Merge "leaudio: Remove not needed group status" am: 6e897f9e am: bea8d8d2...

Merge "leaudio: Remove not needed group status" am: 6e897f9e am: bea8d8d2 am: 0eeb6b70 am: 0f473ac7

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

Change-Id: Ia23b6b5148065cfd88c8ac121065abf51b4530e1
parents 98032e9c 0f473ac7
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -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()) {