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

Commit 65fc7f57 authored by Andrew Solovay's avatar Andrew Solovay
Browse files

docs: Correct labeling for two USB events

Per bug, these were mislabeled as broadcast actions, when they're
actually activity intents. This has consequences post-O, since
broadcast actions are now subject to limitations.

Doc is staged to:

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

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

   /**
     * Broadcast Action:  A broadcast for USB device attached event.
     * Activity intent sent when a USB device is attached.
     *
     * This intent is sent when a USB device is attached to the USB bus when in host mode.
     * <ul>
@@ -125,9 +125,8 @@ public class UsbManager {
            "android.hardware.usb.action.USB_DEVICE_DETACHED";

   /**
     * Broadcast Action:  A broadcast for USB accessory attached event.
     * Activity intent sent when a USB accessory is attached.
     *
     * This intent is sent when a USB accessory is attached.
     * <ul>
     * <li> {@link #EXTRA_ACCESSORY} containing the {@link android.hardware.usb.UsbAccessory}
     * for the attached accessory