diff options
| author | Josh Gao <jmgao@google.com> | 2019-06-17 15:05:37 -0700 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2019-06-18 15:00:15 -0700 |
| commit | 8caa03f9edce9f0d47e0e9400d0b365478bf4420 (patch) | |
| tree | 0ff2da9f6b918ce380e49a0f8b73c3fb06d8efaf /libutils/Unicode.cpp | |
| parent | 8d4485ce6f5569de5cea0e71ae61b11e8d666140 (diff) | |
Reland "adbd: don't close ep0 until we receive FUNCTIONFS_UNBIND."
Read until we receive FUNCTIONFS_BIND after every USB descriptor setup,
instead of only after initial creation of the control fd, so we properly
handle a rebind caused by a change of the USB configuration.
This reverts commit 55b31933f41b1c550b788fa2054010c51f56111b.
Bug: http://b/133132986
Bug: http://b/135155652
Test: manually enabled/disabled MTP with nonblocking_ffs enabled and disabled
Change-Id: Ibb3f46b8f84854ede47a669a85e07e16a5dd6008
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
