commit | 5d552c6215979c6751791096b3326c0183eddc96 | [log] [tgz] |
---|---|---|
author | Ashish Kumar Gupta <kumarashishg@google.com> | Wed Jul 31 16:02:29 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Sep 12 03:55:07 2024 +0000 |
tree | 23f1e46911977d99fb28faac146f7c6eff44c9a6 | |
parent | 3abee04c9a3fbffa441763c06cf41f26c732d8b2 [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 (cherry picked from commit 7c6ec68537ba8abf798afd9ab7c3e5889841171f) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3c16bf88ed7896af98f669246c21b17f1018068b) Merged-In: I698e9df0333cbb51dd9bd5917a94d81273a2784a Change-Id: I698e9df0333cbb51dd9bd5917a94d81273a2784a