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

Commit a5d0ca4f authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Show "(reverse)" in "adb reverse --list"."

parents 93adb524 34c20bbd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -142,8 +142,10 @@ std::string format_listeners() {
            continue;
        }
        //  <device-serial> " " <local-name> " " <remote-name> "\n"
        // Entries from "adb reverse" have no serial.
        android::base::StringAppendF(&result, "%s %s %s\n",
                                     l->transport->serial, l->local_name, l->connect_to);
                                     l->transport->serial ? l->transport->serial : "(reverse)",
                                     l->local_name, l->connect_to);
    }
    return result;
}