Merge "adb: don't error in handle_host_request if we can't acquire a transport." am: 224d965be0

am: 22bce1788e

Change-Id: Ia6833ef85c666b5fd4682051d9846e45c61cbaeb
This commit is contained in:
Josh Gao 2018-04-19 14:59:11 -07:00 committed by android-build-merger
commit 5b1c964f95

View file

@ -1221,7 +1221,7 @@ int handle_host_request(const char* service, TransportType type, const char* ser
std::string error;
atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &error);
if (!t) {
return SendFail(reply_fd, error);
return -1;
}
int ret = handle_forward_request(service, t, reply_fd);