summaryrefslogtreecommitdiff
path: root/framework/java
diff options
context:
space:
mode:
authorAlice Kuo <aliceypkuo@google.com>2021-05-06 15:13:35 +0800
committerAlice Kuo <aliceypkuo@google.com>2021-06-18 09:26:46 +0000
commit4dcf558a0fc5fa2bdf30f11f3b8a8f490c3afeda (patch)
tree12c2789eae59787ec978aa9f65e267fac5fd34d7 /framework/java
parent2b42bfaf8641f7e8c14082dd99d4978c1287d69b (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 Ignore-AOSP-First: prevent merge conflict Change-Id: I32865720a8195b7c5ae29411cd1f3de95e7fc9b5
Diffstat (limited to 'framework/java')
-rw-r--r--framework/java/android/bluetooth/BluetoothLeAudio.java1
-rw-r--r--framework/java/android/bluetooth/BluetoothProfile.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/framework/java/android/bluetooth/BluetoothLeAudio.java b/framework/java/android/bluetooth/BluetoothLeAudio.java
index 9de27ff97f..c438dd34f8 100644
--- a/framework/java/android/bluetooth/BluetoothLeAudio.java
+++ b/framework/java/android/bluetooth/BluetoothLeAudio.java
@@ -356,7 +356,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
*/
@RequiresLegacyBluetoothPermission
@RequiresBluetoothConnectPermission
diff --git a/framework/java/android/bluetooth/BluetoothProfile.java b/framework/java/android/bluetooth/BluetoothProfile.java
index f9f65d09c1..973ae3ce6b 100644
--- a/framework/java/android/bluetooth/BluetoothProfile.java
+++ b/framework/java/android/bluetooth/BluetoothProfile.java
@@ -208,7 +208,6 @@ public interface BluetoothProfile {
/**
* LE Audio Device
*
- * @hide
*/
int LE_AUDIO = 22;