aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-05-04 01:10:13 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-05-04 01:10:13 +0000
commitce3d63292e9b6fdabfebb99bb9266e5f8ba98080 (patch)
treebdb508aac6479f1d93422d8cb93f4490d8c00952
parent509adac9acd9b6a1dd69eca5807d9dee82180784 (diff)
parent007184a09942bc6d7964b97192f8e42861811f67 (diff)
downloadacloud-ce3d63292e9b6fdabfebb99bb9266e5f8ba98080.tar.gz
Snap for 7333400 from 007184a09942bc6d7964b97192f8e42861811f67 to sc-release
Change-Id: I9b11fdc164a57a7a448729cef1d8c27999a2eb9d
-rwxr-xr-xinternal/lib/utils.py2
-rw-r--r--internal/lib/utils_test.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/lib/utils.py b/internal/lib/utils.py
index 0179f18b..819aba4c 100755
--- a/internal/lib/utils.py
+++ b/internal/lib/utils.py
@@ -96,7 +96,7 @@ _DEFAULT_DISPLAY_SCALE = 1.0
_DIST_DIR = "DIST_DIR"
# For webrtc
-_WEBRTC_URL = "https://%(webrtc_ip)s:%(webrtc_port)d/?use_tcp=true"
+_WEBRTC_URL = "https://%(webrtc_ip)s:%(webrtc_port)d"
_CONFIRM_CONTINUE = ("In order to display the screen to the AVD, we'll need to "
"install a vnc client (ssvnc). \nWould you like acloud to "
diff --git a/internal/lib/utils_test.py b/internal/lib/utils_test.py
index c28f8320..45bb1777 100644
--- a/internal/lib/utils_test.py
+++ b/internal/lib/utils_test.py
@@ -481,7 +481,7 @@ class UtilsTest(driver_test_lib.BaseDriverTest):
"ip": "192.168.1.1",},],}
utils.LaunchBrowserFromReport(fake_report)
- webbrowser.open_new_tab.assert_called_once_with("https://localhost:8443/?use_tcp=true")
+ webbrowser.open_new_tab.assert_called_once_with("https://localhost:8443")
webbrowser.open_new_tab.call_count = 0
# test local instance
@@ -489,7 +489,7 @@ class UtilsTest(driver_test_lib.BaseDriverTest):
"devices": [{"instance_name": "local-instance1",
"ip": "127.0.0.1:6250",},],}
utils.LaunchBrowserFromReport(fake_report)
- webbrowser.open_new_tab.assert_called_once_with("https://localhost:8443/?use_tcp=true")
+ webbrowser.open_new_tab.assert_called_once_with("https://localhost:8443")
webbrowser.open_new_tab.call_count = 0
# verify terminal can't support launch webbrowser.