OSDN Git Service

Fix typo in UsbManager javadoc.
authormike wakerly <mikey@google.com>
Wed, 18 Jul 2012 02:58:19 +0000 (19:58 -0700)
committermike wakerly <mikey@google.com>
Thu, 9 Aug 2012 23:31:26 +0000 (16:31 -0700)
Closes http://b.android.com/32863

Change-Id: I8fc03ee70209413f279f606b393e79c12ee9c0d2

core/java/android/hardware/usb/UsbManager.java

index c40504a..f64ef87 100644 (file)
@@ -257,7 +257,7 @@ public class UsbManager {
      * data using {@link android.hardware.usb.UsbRequest}.
      *
      * @param device the device to open
-     * @return true if we successfully opened the device
+     * @return a {@link UsbDeviceConnection}, or {@code null} if open failed
      */
     public UsbDeviceConnection openDevice(UsbDevice device) {
         try {