| 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 ec9d5d67c094ca25ffe690199ded52695f6ba0f2..d16c35a51b0699139385e4105c6e1e5a2253fa36 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
|
| @@ -18,8 +18,11 @@ class AndroidScreenRecordingProfiler(profiler.Profiler):
|
| self._output_path = output_path + '.mp4'
|
| self._recorder = subprocess.Popen(
|
| [os.path.join(util.GetChromiumSrcDir(), 'build', 'android',
|
| - 'screenshot.py'), '--video', '--file',
|
| - self._output_path], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
| + 'screenshot.py'),
|
| + '--video',
|
| + '--file', self._output_path,
|
| + '--device', browser_backend.adb.device()],
|
| + stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
|
|
| @classmethod
|
| def name(cls):
|
|
|