summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Ashish Kumar Gupta <kumarashishg@google.com> 2024-07-31 16:02:29 +0000
committer Ashish Kumar Gupta <kumarashishg@google.com> 2024-07-31 16:32:37 +0000
commit7c6ec68537ba8abf798afd9ab7c3e5889841171f (patch)
treebc6f3759eef45e102274ca8175cc8ecc0a6f1a04 /libs/androidfw/misc.cpp
parentf7de25121fe01233f5a202a349fa56f634e18843 (diff)
Set no data transfer on function switch timeout for accessory mode
In case of function switch times out, we will check whether the last function set was accessory. If this is the case, it is recommended to set the function to NONE(No data transfer) rather than setting it to the default USB function. Bug: 353712853 Test: Build the code, flash the device and test it. Test: atest CtsUsbManagerTestCases Test: run CtsVerifier tool Test: atest CtsUsbTests Change-Id: I698e9df0333cbb51dd9bd5917a94d81273a2784a
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions