Refactor codes of the definition of ForwardedPorts
Bug: 122929848
Bug: 127394991
Test: m acloud && atest acloud_test && acloud list && acloud reconnect
Change-Id: I5ca1383843827661708cb7441ea24f0588c0e2ab
diff --git a/public/device_driver.py b/public/device_driver.py
index 4d54a98..46339be 100755
--- a/public/device_driver.py
+++ b/public/device_driver.py
@@ -401,8 +401,8 @@
forwarded_ports = utils.AutoConnect(
ip,
cfg.ssh_private_key_path,
- constants.DEFAULT_GCE_VNC_PORT,
- constants.DEFAULT_GCE_ADB_PORT,
+ constants.GCE_VNC_PORT,
+ constants.GCE_ADB_PORT,
_SSH_USER)
device_dict[constants.VNC_PORT] = forwarded_ports.vnc_port
device_dict[constants.ADB_PORT] = forwarded_ports.adb_port