diff options
| -rw-r--r-- | core/api/current.txt | 2 | ||||
| -rw-r--r-- | core/java/android/bluetooth/BluetoothLeAudio.java | 1 | ||||
| -rw-r--r-- | core/java/android/bluetooth/BluetoothProfile.java | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index 536c11855458..fb7d986a3138 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -9065,6 +9065,7 @@ package android.bluetooth { method @NonNull public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(); method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public int getConnectionState(@NonNull android.bluetooth.BluetoothDevice); method @NonNull public java.util.List<android.bluetooth.BluetoothDevice> getDevicesMatchingConnectionStates(@NonNull int[]); + method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public int getGroupId(@NonNull android.bluetooth.BluetoothDevice); field public static final String ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED = "android.bluetooth.action.LE_AUDIO_CONNECTION_STATE_CHANGED"; } @@ -9089,6 +9090,7 @@ package android.bluetooth { field @Deprecated public static final int HEALTH = 3; // 0x3 field public static final int HEARING_AID = 21; // 0x15 field public static final int HID_DEVICE = 19; // 0x13 + field public static final int LE_AUDIO = 22; // 0x16 field public static final int SAP = 10; // 0xa field public static final int STATE_CONNECTED = 2; // 0x2 field public static final int STATE_CONNECTING = 1; // 0x1 diff --git a/core/java/android/bluetooth/BluetoothLeAudio.java b/core/java/android/bluetooth/BluetoothLeAudio.java index 3f00fa6f4181..75fcab935936 100644 --- a/core/java/android/bluetooth/BluetoothLeAudio.java +++ b/core/java/android/bluetooth/BluetoothLeAudio.java @@ -335,7 +335,6 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable { * earbud) * @param device LE Audio capable device * @return group id that this device currently belongs to - * @hide */ @RequiresPermission(Manifest.permission.BLUETOOTH) public int getGroupId(@NonNull BluetoothDevice device) { diff --git a/core/java/android/bluetooth/BluetoothProfile.java b/core/java/android/bluetooth/BluetoothProfile.java index 4d93c5c6b7de..b76d6b869131 100644 --- a/core/java/android/bluetooth/BluetoothProfile.java +++ b/core/java/android/bluetooth/BluetoothProfile.java @@ -210,7 +210,6 @@ public interface BluetoothProfile { /** * LE Audio Device * - * @hide */ int LE_AUDIO = 22; |