Add fields to infer UsbPortStatus and allow enabling usb while docked
Adding two fields to UsbPortStatus to infer the following:
a. usbDataStatus: To infer the current USB data status of the port.
b. powerBrickStatus: To infer whether a power brick is connected
to the USB port.
The change also adds a new method, enableUsbDataWhileDocked to
allow enabling Usb port while being docked.
Bug: 211677613
Signed-off-by:
Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I4fb352679a52326bf4b0fc5aa3d218a0f34cecdb
Loading
Please register or sign in to comment