diff --git a/wlauto/workloads/camerarecord/__init__.py b/wlauto/workloads/camerarecord/__init__.py index 50a61362..f7dda0d1 100644 --- a/wlauto/workloads/camerarecord/__init__.py +++ b/wlauto/workloads/camerarecord/__init__.py @@ -75,7 +75,7 @@ class Camerarecord(UiAutomatorWorkload): .format(self.package, framestats_file)) self.device.pull_file(framestats_file, context.output_directory, - as_root=True) + as_root=self.device.is_rooted) self.device.delete_file(framestats_file) # Stop the activity