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

Commit a680117b authored by Prathmesh Prabhu's avatar Prathmesh Prabhu Committed by Gerrit Code Review
Browse files

Merge "emulator: Use distinct serial names for simultaneous qemu pipes."

parents 4d25e666 d387acc9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -260,7 +260,8 @@ static void qemu_socket_thread(void* arg) {
            } else {
                /* Host is connected. Register the transport, and start the
                 * exchange. */
                register_socket_transport(fd, "host", port, 1);
                std::string serial = android::base::StringPrintf("host-%d", fd);
                register_socket_transport(fd, serial.c_str(), port, 1);
                if (!WriteFdExactly(fd, _start_req, strlen(_start_req))) {
                    adb_close(fd);
                }