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
Loading
Please register or sign in to comment