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 | b00e66f754d6cfe2c5dcd7dab54a4a86004effd7 (patch) | |
tree | 0ff2da9f6b918ce380e49a0f8b73c3fb06d8efaf /init/service_parser.cpp | |
parent | b89a4434ba542e2bd09fead9e08b0f8b20eb9019 (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 'init/service_parser.cpp')
0 files changed, 0 insertions, 0 deletions