Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51fd5440 authored by Josh Gao's avatar Josh Gao Committed by Android (Google) Code Review
Browse files

Merge "adb: don't error in handle_host_request if we can't acquire a transport." into pi-dev

parents c415debd 05e5bc1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1222,7 +1222,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);