summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Badhri Jagan Sridharan <badhri@google.com> 2022-12-12 09:24:46 +0000
committer Badhri Jagan Sridharan <badhri@google.com> 2022-12-21 03:21:49 +0000
commit2ddb5aff0a35cc2090e4fff36992cb6f2369c5b1 (patch)
tree6c6cd1a2e5286a5d75102e90669dfa1009a19139 /libs/androidfw/ApkParsing.cpp
parent3eab0a1997c9e59c079e76ddce00b27edf376514 (diff)
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions