diff options
| author | Yabin Cui <yabinc@google.com> | 2016-04-27 14:21:52 -0700 |
|---|---|---|
| committer | Yabin Cui <yabinc@google.com> | 2016-04-28 16:01:10 -0700 |
| commit | 69e97e4bee9ee43ef55d1bb205bc4ca065d089bc (patch) | |
| tree | 3d2958a3ebd7a6fb0c3a83efe00b33ab96f61419 /base/errors_unix.cpp | |
| parent | 721c9ce4a55c13716f263dc7a9cbda92b349b4b7 (diff) | |
adb: close ep0 on disconnection.
adbd on device kicks the usb connection when usb IO fails. But to notify
adb on host to reconnect it, adbd needs to close ep0 to reset the usb
connection. Otherwise, adb on host cann't connect the device unless the
usb cable is reconnected or adb host server is restarted.
This can be tested by using `adb reconnect device` command.
Bug: 25935458
Change-Id: I80979d6029e60b9cfd218f7b9b5201810238ec07
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
