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

Commit e6e873b7 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Limit GroupStatus only to active/inactive

The other states are now internal only and keep in GroupStreamState

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: compile
Change-Id: I177e3a01fbef188f0f21e15315dd1d136e4baf41
parent 9290b829
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@ interface IBluetoothLeAudio {

    const int LE_AUDIO_GROUP_ID_INVALID = -1;

    const int GROUP_STATUS_INACTIVE = 0;
    const int GROUP_STATUS_ACTIVE = 1;

    /**
     * Get device group id. Devices with same group id belong to same group (i.e left and right
     * earbud)
+5 −0
Original line number Diff line number Diff line
@@ -33,6 +33,11 @@ enum class ConnectionState {
};

enum class GroupStatus {
  INACTIVE = 0,
  ACTIVE,
};

enum class GroupStreamStatus {
  IDLE = 0,
  STREAMING,
  SUSPENDED,