Index: tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py |
index 030ccb201fbd2bb12679539c4c62356a86067b95..423b250fded283e2911300463ecdeaa993b407a3 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py |
@@ -21,7 +21,7 @@ class AndroidScreenRecordingProfiler(profiler.Profiler): |
'screenshot.py'), |
'--video', |
'--file', self._output_path, |
- '--device', browser_backend.adb.device()], |
+ '--device', browser_backend.adb.device_serial()], |
stdin=subprocess.PIPE, stdout=subprocess.PIPE) |
@classmethod |