summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth
diff options
context:
space:
mode:
authorAlice Kuo <aliceypkuo@google.com>2021-05-06 15:13:35 +0800
committerAlice Kuo <aliceypkuo@google.com>2021-06-21 23:34:53 +0000
commit47840a8d73bcde494fd92ca1b355a3ab5eeedf07 (patch)
tree161594812153e594b56ba832f2ccf8aa2f626814 /core/java/android/bluetooth
parent4ec69295814eb4762e8ab6fff170f6522dbd709f (diff)
Unhide BluetoothProfile.LE_AUDIO and getGroupId for the App usage.
This change contains two item, 1. public BluetoothProfile.LE_AUDIO that App can use BluetoothProfile.ServiceLister with LE Audio profile, such as HFP, A2DP and hearing aid profile. 2. public getGroupId API that App can use this api to identify which devices are in the same group Bug: 150670922 Test: Manual test Change-Id: I32865720a8195b7c5ae29411cd1f3de95e7fc9b5 Merged-In: I32865720a8195b7c5ae29411cd1f3de95e7fc9b5
Diffstat (limited to 'core/java/android/bluetooth')
-rw-r--r--core/java/android/bluetooth/BluetoothLeAudio.java1
-rw-r--r--core/java/android/bluetooth/BluetoothProfile.java1
2 files changed, 0 insertions, 2 deletions
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;