* commit '32b4d786e14dd14cee39c12f56231ccf56c6710a': Show "(reverse)" in "adb reverse --list".
This commit is contained in:
commit
b0250ce713
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue