Update the details printed out to include adb serial (if it exists).
Print out the adb serial so users know which device is accessible by adb
now (not that they couldn't figure it out but might as well be complete
about it).
Bug: 110383583
Test: acloud create && atest acloud_test
Change-Id: Ia19e5d051e542eeeb2dce69a7ef3862a211ef4a9
diff --git a/create/local_image_local_instance.py b/create/local_image_local_instance.py
index ff82ab8..a85faff 100644
--- a/create/local_image_local_instance.py
+++ b/create/local_image_local_instance.py
@@ -81,7 +81,9 @@
utils.TextColors.WARNING)
# TODO(b/117366819): Should display the correct device serial
# according to the args --serial_number.
- utils.PrintColorString("Device serial: 127.0.0.1:6520",
+ utils.PrintColorString("Device serial: %s:%s" %
+ (constants.LOCALHOST_ADB_SERIAL,
+ constants.DEFAULT_ADB_PORT),
utils.TextColors.WARNING)
if avd_spec.autoconnect:
self.LaunchVncClient()