Index: tools/telemetry/telemetry/internal/platform/android_device.py |
diff --git a/tools/telemetry/telemetry/internal/platform/android_device.py b/tools/telemetry/telemetry/internal/platform/android_device.py |
index 20608639dfd83ec20e332e2c7125e701b2a40a87..92a276fb83218b3fc9d1d3820e8d23808a3cf223 100644 |
--- a/tools/telemetry/telemetry/internal/platform/android_device.py |
+++ b/tools/telemetry/telemetry/internal/platform/android_device.py |
@@ -129,6 +129,9 @@ def GetDevice(finder_options): |
def CanDiscoverDevices(): |
"""Returns true if devices are discoverable via adb.""" |
+ if os.name != 'posix': |
+ return False |
+ |
adb_path = constants.GetAdbPath() |
if os.path.isabs(adb_path) and not os.path.exists(adb_path): |
return False |