Skip to content
Commit 2ddb5aff authored by Badhri Jagan Sridharan's avatar Badhri Jagan Sridharan
Browse files

Add additional status flags to UsbDataStatus

This change introduces two new values to UsbDataStatus interface
to denote status of Usb data. Previously, UsbDataStatus interface
contained DISABLED_DOCK which indicated that USB data is disabled
due to a docking event. Depending on the hardware design, some
architectures might only disable USB host mode or USB gadget
mode selectively when docked. This change adds interface values
to denote them. DISABLED_DOCK_HOST_MODE indicates USB host mode
disabled due to docking event. DISABLED_DOCK_DEVICE_MODE indicates
device mode disabled due to docking event. DISABLED_DOCK needs to
be set when either of DISABLED_DOCK_HOST_MODE or
DISABLED_DOCK_DEVICE_MODE is set.

Bug: 250522538
Change-Id: Icaca2d2b704661261905bfaf79a03808ddc39895
parent 3eab0a19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment