diff options
| author | Scott Main <smain@google.com> | 2011-01-19 21:13:18 -0800 |
|---|---|---|
| committer | Scott Main <smain@google.com> | 2011-01-19 21:13:18 -0800 |
| commit | 4883a5778fa6bb2ad3d4a0dad25efbc7edf46a7b (patch) | |
| tree | 49f9f245df5ff3aa32ecfcf6bd1943b490385c0a /framework/java/android/bluetooth/BluetoothAdapter.java | |
| parent | c1cf3ea3e7381547907bf0240452d289c5f20919 (diff) | |
docs: small javadoc, but also make the existing getProfileProxy docs visible... had wrong comment tag
Change-Id: Ia4b2178057c0263ec8f835342815082de87b3af1
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothAdapter.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothAdapter.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/framework/java/android/bluetooth/BluetoothAdapter.java b/framework/java/android/bluetooth/BluetoothAdapter.java index b2185adc86..fb3744d530 100644 --- a/framework/java/android/bluetooth/BluetoothAdapter.java +++ b/framework/java/android/bluetooth/BluetoothAdapter.java @@ -1025,17 +1025,18 @@ public final class BluetoothAdapter { return null; } - /* + /** * Get the profile proxy object associated with the profile. * - * <p>Profile can be one of {@link BluetoothProfile.HEADSET} or - * {@link BluetoothProfile.A2DP}. Clients must implements + * <p>Profile can be one of {@link BluetoothProfile#HEADSET} or + * {@link BluetoothProfile#A2DP}. Clients must implements * {@link BluetoothProfile.ServiceListener} to get notified of * the connection status and to get the proxy object. * * @param context Context of the application * @param listener The service Listener for connection callbacks. - * @param profile + * @param profile The Bluetooth profile; either {@link BluetoothProfile#HEADSET} + * or {@link BluetoothProfile#A2DP}. * @return true on success, false on error */ public boolean getProfileProxy(Context context, BluetoothProfile.ServiceListener listener, |
