summaryrefslogtreecommitdiff
path: root/api/api_test.go
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-08-08 13:39:10 +0000
commit9a2686aee7ad28c514407bff79d471f9b3a4fed4 (patch)
tree353d3501f0e130e9d7086c7a6b1187e860c0b391 /api/api_test.go
parente4dddd3345f76b2333e168a218fd2a7c1d581a4d (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 Merged-In: I698e9df0333cbb51dd9bd5917a94d81273a2784a (cherry picked from commit 7c6ec68537ba8abf798afd9ab7c3e5889841171f)
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions