OSDN Git Service

docs: small javadoc, but also make the existing getProfileProxy docs visible... had...
authorScott Main <smain@google.com>
Thu, 20 Jan 2011 05:13:18 +0000 (21:13 -0800)
committerScott Main <smain@google.com>
Thu, 20 Jan 2011 05:13:18 +0000 (21:13 -0800)
Change-Id: Ia4b2178057c0263ec8f835342815082de87b3af1

core/java/android/bluetooth/BluetoothAdapter.java

index b2185ad..fb3744d 100644 (file)
@@ -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,