Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65342918 authored by Andrew Solovay's avatar Andrew Solovay
Browse files

docs: Clarify wording on two Javadoc entries

Per feedback from dmail@, rephrased to clarify that the intent is
fired at the time when a USB device/accessory is attached, not a
general "a USB device happens to be attached now" notification.

Staged to:

http://go/dac-stage/reference/android/hardware/usb/UsbManager.html

Bug: 36672976
Test: make ds-docs
Change-Id: I9f1c202d0a6a6a5b25cf775e2b11119a26625bf1
parent ab944956
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class UsbManager {
            "android.hardware.usb.action.USB_PORT_CHANGED";

   /**
     * Activity intent sent when a USB device is attached.
     * Activity intent sent when user attaches a USB device.
     *
     * This intent is sent when a USB device is attached to the USB bus when in host mode.
     * <ul>
@@ -125,7 +125,7 @@ public class UsbManager {
            "android.hardware.usb.action.USB_DEVICE_DETACHED";

   /**
     * Activity intent sent when a USB accessory is attached.
     * Activity intent sent when user attaches a USB accessory.
     *
     * <ul>
     * <li> {@link #EXTRA_ACCESSORY} containing the {@link android.hardware.usb.UsbAccessory}