diff options
author | Alice Kuo <aliceypkuo@google.com> | 2021-05-06 15:13:35 +0800 |
---|---|---|
committer | Alice Kuo <aliceypkuo@google.com> | 2021-06-18 09:26:46 +0000 |
commit | 4dcf558a0fc5fa2bdf30f11f3b8a8f490c3afeda (patch) | |
tree | 12c2789eae59787ec978aa9f65e267fac5fd34d7 /framework/java/android/bluetooth/BluetoothLeAudio.java | |
parent | 2b42bfaf8641f7e8c14082dd99d4978c1287d69b (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/android/bluetooth/BluetoothLeAudio.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothLeAudio.java | 1 |
1 files changed, 0 insertions, 1 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 |