summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.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-08-08 13:50:42 +0000
commit1fd981ea8d7e011a55d782ef26149919db25338a (patch)
tree57036d626591915151907e9b6d45f0e600855402 /libs/input/PointerController.cpp
parentfee4c543bc299666a4aac266698eb7d1a3292dd2 (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 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions