Index: build/android/pylib/ports.py |
diff --git a/build/android/pylib/ports.py b/build/android/pylib/ports.py |
index 88b7cb2065c697253066bb3fe62451d596cb4543..34efb5253c425b807f3549eec12707f653c4e744 100644 |
--- a/build/android/pylib/ports.py |
+++ b/build/android/pylib/ports.py |
@@ -114,8 +114,7 @@ def IsDevicePortUsed(device, device_port, state=''): |
True if the port on device is already used, otherwise returns False. |
""" |
base_url = '127.0.0.1:%d' % device_port |
- netstat_results = device.old_interface.RunShellCommand( |
- 'netstat', log_result=False) |
+ netstat_results = device.RunShellCommand('netstat') |
for single_connect in netstat_results: |
# Column 3 is the local address which we want to check with. |
connect_results = single_connect.split() |